1.

Solve : Create a text file in a folder?

Answer»

Hi,

 I want to create a blank TEXT file in a folder with a dos command, can anyone help me on this.

Regards,
Rajeev Prabhu
In the RUN box, or at the DOS prompt, type edit. If you desire a blank file, simply save it with an emtpy document. It's POSSIBLE to use edit with the KEYBOARD (use ALT to access menu) or with a mouse if you get DOS mouse drivers.

I can't remember the specific command to create a new file but this should work well enough.Easy way:

In a DOS box,

copy con: textfile.txt
Ctrl-Z


The file 'textfile.txt' in the current directory is an empty text file.



Discussion

No Comment Found