Format:
[command] [> | >>] [filename]
> saves the output of [command] into [filename].
>> appends the output of [command] into [filename].
Examples:
echo Hello World > myfile.txt saves "Hello World" into myfile.txt
echo your name is %name% >> myfile.txt appends "your name is xxxx" into myfile.txt
dir C:\ > directory.txt saves the directory of C:\ to directory.txt