PDA

View Full Version : Setting up a batch file at the C:\ Prompt


Bob Perreault
April 19th 03, 07:28 PM
I use to know how to set up batch files in DOS a long
time ago, but I forgot!

Can anyone tell me how to do this when I am in the "C:\
Prompt" under Windows XP?

Thanks

David Candy
April 19th 03, 07:39 PM
type
copy con filename.bat
<enter your commands>
Press Ctrl + Z then Enter

Notepad is easier.

--=20
http://www.g2mil.com/Apr2003.htm
http://prorev.com/forbesrussia.htm
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
---------------------------------------------------------------
"Bob Perreault" > wrote in message =
...
> I use to know how to set up batch files in DOS a long=20
> time ago, but I forgot!
>=20
> Can anyone tell me how to do this when I am in the "C:\=20
> Prompt" under Windows XP?
>=20
> Thanks

David Candy
April 19th 03, 07:39 PM
type
copy con filename.bat
<enter your commands>
Press Ctrl + Z then Enter

Notepad is easier.

--=20
http://www.g2mil.com/Apr2003.htm
http://prorev.com/forbesrussia.htm
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
---------------------------------------------------------------
"Bob Perreault" > wrote in message =
...
> I use to know how to set up batch files in DOS a long=20
> time ago, but I forgot!
>=20
> Can anyone tell me how to do this when I am in the "C:\=20
> Prompt" under Windows XP?
>=20
> Thanks

Bill Sharpe
April 20th 03, 11:51 PM
or use
edit filename.bat
which brings up the MS-DOS Editor, Copyright 1995.

Bill Sharpe

PS Yeah, Notepad is easier...

"David Candy" > wrote in message
...
type
copy con filename.bat
<enter your commands>
Press Ctrl + Z then Enter

Notepad is easier.

--
http://www.g2mil.com/Apr2003.htm
http://prorev.com/forbesrussia.htm
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
---------------------------------------------------------------
"Bob Perreault" > wrote in message
...
> I use to know how to set up batch files in DOS a long
> time ago, but I forgot!
>
> Can anyone tell me how to do this when I am in the "C:\
> Prompt" under Windows XP?
>
> Thanks

Bill Sharpe
April 20th 03, 11:51 PM
or use
edit filename.bat
which brings up the MS-DOS Editor, Copyright 1995.

Bill Sharpe

PS Yeah, Notepad is easier...

"David Candy" > wrote in message
...
type
copy con filename.bat
<enter your commands>
Press Ctrl + Z then Enter

Notepad is easier.

--
http://www.g2mil.com/Apr2003.htm
http://prorev.com/forbesrussia.htm
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
---------------------------------------------------------------
"Bob Perreault" > wrote in message
...
> I use to know how to set up batch files in DOS a long
> time ago, but I forgot!
>
> Can anyone tell me how to do this when I am in the "C:\
> Prompt" under Windows XP?
>
> Thanks

Google