Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
dos batch variable name
Name: Robyn O Date: September 30, 2001 at 08:46:17 Pacific
Comment:
I am trying to script a program to write to a file with a variable name(AAmmddyy.dat). How can I use a .bat file to write to a variable file name, I can't find anything specific and I am so DOS rusty.
Summary: FOR command introduced in Ver 2.0 If used in batch file,use the following: FOR %%variable IN (set) DO comand If used at DOS prompt, use : FOR %variable IN (set) DO command Syntax Options: %variable......
Summary: Anyone know of a way to accept user input into a system variable?? We'd like to prompt the user for a Computer Name to use Ghost Walker to create a new SID before a NT load. Just can't figure out a wa...
Summary: In a DOS batch file I am renaming a file. The new name has to have the date and a time stamp to make it unique. I am using XSET to create a variable for the date (this works) The time does not work du...