MS-DOS and Windows command line users
Use the copy con command to create an empty file as shown below. The ^Z represents pressing Ctrl + Z on the keyboard once at a blank link. After pressing this shortcut you should get a 1 file copied message.
copy con file.txt
^Z
Linux and Unix users
Use the touch command, as shown below to create an empty file. In the below example, the file "myexample" is created.
touch myexample
Windows users
From within Windows right-click in the area you wish to create the file. For example, right click on the Desktop to create a new text file on the Desktop. From the drop-down menu that appears New and then choose Text Document.
0 comments:
Post a Comment