Skip to main content
Completion requirements

4. Creating and viewing files

4.1. Creating files

Of course you can create files using your Windows software, but since you're learning the command prompt you'll learn how to create a simple ASCII text file.

1. Type:
copy con listdir.bat <ENTER>

dir /AD <ENTER>

<CTRL>-<Z>

(keep the control button pressed and type z)

Your screen looks like this:

2. Check if the file is in the directory list. What is the size of the file?