Jump to content

whats the command to create a new file using batch script


Recommended Posts

Posted

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?????????

 

--

kripesh

  • Replies 2
  • Created
  • Last Reply

Popular Days

Posted

Re: whats the command to create a new file using batch script

 

 

"kripesh" <kripesh@discussions.microsoft.com> wrote in message

news:87377668-9DD6-48E7-B515-74D20088C4F8@microsoft.com...

> 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?????????

>

> --

> kripesh

 

just use the redirect to filename.

 

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

Posted

Re: whats the command to create a new file using batch script

 

Thanx

--

kripesh

 

 

"dobey" wrote:

>

> "kripesh" <kripesh@discussions.microsoft.com> wrote in message

> news:87377668-9DD6-48E7-B515-74D20088C4F8@microsoft.com...

> > 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?????????

> >

> > --

> > kripesh

>

> just use the redirect to filename.

>

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

>

>

>


×
×
  • Create New...