Search found 2 matches

by david.carver
05 Feb 2012 02:55
Forum: DOS Batch Forum
Topic: Creating a batch file with multiple lines using a batch file
Replies: 2
Views: 2610

Creating a batch file with multiple lines using a batch file

I need to be able to use a batch file to create another batch file with multiple lines of code. i have used the cd C:\Documents and Settings echo set /a var1=12 >newfile.bat this gives me a new .bat file called newfile.bat with "set /a var1=12" inside but i need to define more than one var...