Set and read variables

Set: set variablename=thatsaname Read: %variablename%

Set globally: setx variablename thatsaname

You need to open a new cmd instance to see the new variable

Get file content

type note.txt will print the filecontent in the console.

Updated: