whats the command to create a new file using batch script

G

Guest

hi all,

sorry for the blast.

I just wanted to know the command used to create a new text file.

using batch scripts i need to create some text files inside some directories..

any suggestions?????????
 
D

dobey

kripesh said:
hi all,

sorry for the blast.

I just wanted to know the command used to create a new text file.

using batch scripts i need to create some text files inside some
directories..

any suggestions?????????

just use the redirect to filename.

dir c:\ > c:\myfolder\newfile.txt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top