Groups | Blog | Home
all groups > dotnet faqs > september 2007 >

dotnet faqs : DOS information


matlyn
9/19/2007 2:54:05 PM
I have been sent to a "basic" scripting class. The instructor started with
DOS stuff.

How can I create a .bat file that will create a dir, subdir and a .txt file?

thanks,
matlyn
9/20/2007 1:08:01 PM
Thank you, Jason. Sorry I posted in the wrong area.

[quoted text, click to view]
Jason Newell
9/20/2007 2:56:07 PM
Matlyn,

This is a .NET FAQ newsgroup so you probably won't get much answers.

MKDIR \dir\subdir
ECHO Hello > \dir\subdir\hello.txt

Jason Newell
Software Engineer
www.jasonnewell.net

[quoted text, click to view]
AddThis Social Bookmark Button