Rajeev G. Blog

An Introduction to Using the Command Line on Windows.

Last updated:

Tech

Echo

echo x > y.ext = create a file y with the content x and the following format .ext

Change Directory

 cd = change directory
cd .. = move to the parent directory
cd x = move to the current\x directory
cd z: = change to the z root directory (as opposed to c:)

Copy

copy x y = copy file x to directory y (Ex: D:\games\galaga.exe C:\programs[\awesome.exe]), [] = optional
copy file con = display file contents in console