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.
batch file variable reset
Name: fgsalama Date: February 14, 2008 at 13:52:59 Pacific OS: xp CPU/Ram: . Product: .
Comment:
I have the follwing patch file which calls two other batches: e: cd E:\SQLSERVER\SCRIPTS\INTELEX_LOADS rem get_date.bat studentdata.dat rem mail_bad.bat load_files\unmattched.txt rem and each of the sub batch files will work fine if called directly but when called using this batch only the first one will work and the 2nd one used the same variable on the previous line and ignor the vatriable in front of it completely. I get the same problem if I reverese the order of the sub batches!
Summary: I need to learn how to create a batch file variable of a file or folder name to use several times later in the batch file. I've tried several ways and haven't figured out how to do it. One example tha...
Summary: Is it possible to make a batch file take a key/string from an .ini file to use as a variable? And also how would i get a batch file write a variable to a .txt and a .ini file(not both types at once th...
Summary: Hi, I'm making a batch file in which a variable is stored and then a number is subtracted from it. Lets say I made a variable called MyVar and then if someone goes to a certain section, then a numb...