Summary: Line 13 is actuall on one line so shouldn't need the ()s. I tried them and they don't help, neither does putting a CALL in front of !THECALL! (I know,...
Summary: I am trying to set environment variables with batch files by getting user input, something like this: set /p input = "Type something here: " echo You ...
Summary: Firstly in batch files no variables can start with numbers so !1! is invalid, this is because of a conflict(%2var%) of parameters %1 %2 ... You can ju...
Summary: Here is the scenario set a=Test set /P input=Please Enter a letter: If the user enters "a" how can I associate "a" variable with input variable essent...
Summary: I have a batch file which displays a list of databases and allows the user to choose the one that they wish to start by typing in the name of the data...
Summary: I recently found this forum and have found it extremely helpful. However, in looking at several postes relating to nested FOR loops, I have not been a...
Summary: I need a batch file that will scan multiple subfolders in one folder, look for the most recent modified file in the subfolders, and set the subfolder...
Summary: Hey, I'm relatively new to batch file programing and I am tearing my hair out over this. I want to be able to set the results of a command as a variab...
Summary: I'm having a little prob using variables... I know how to assign one : set var=3 echo %var% This is easy... But how can I make the user fill in the ...
Summary: How can I replace a character in a textfile or in a variable using a batch file? e.g. first line in textfile = $/Andrew Project: If I store this in a ...
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...
Summary: 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.b...
Summary: How to get a return variable from the called batch-file ? I'm having two batch files as follows A.bat : for /f "tokens=* delims=" %%a in (files.txt) d...
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 t...
Summary: Hey guys, I have this question thats been bothering me for some time. I'm making this batch game and here is an example of what im trying to do set it...
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 ...
Summary: I am developing a script using MSDOS batch files for searching for strings in a directory My requirement is as follows I have a text file with a set o...
Summary: Hi, I would like to take in variable from a text file and execute them in the batch file till it is over Below is the batch file that I use: @echo OFF...
Summary: I'm trying to get a batch file to remove %SUBSET% from %VARIABLE%, and let me use the remainder as %RESULT%. However, I can't seem to get the SET ...
Summary: I need a batch file that will grab the specific numbers from a text file and put them into a variable. The numbers are frames from an AviSynth script...
Summary: Does anybody know a way to catch the breaks in a batch file, for instnace if someone presses Ctrl-c then a series of commands can be executed, eg. cle...
Summary: Hello all and thank you for reading my post. I have a question about a batch file. I have a batch file that will uninstall certain programs by select...
Summary: While scanning invoices from our scanner to a catalog on the server the file(s) are saved as: FAKT.PDF FAKT(1).PDF FAKT(2).PDF ... and so on ... My go...