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: 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: 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: 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 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: 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: 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 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: 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: I have a text file with one line of text [may contain multiple words] that I need to 'read' back into my batch file as a variable. This variable is th...
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: 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...
Summary: I am attempting to create a login script, (batch file), that will copy updated files from a server share to local drive when users login. If they hav...
Summary: Recently we changed the names of our computers. Doing this made net send harder. I am trying to write a batch file that can be run from the Start->Run...
Summary: In my batch file (see code below) the Xname variable is set by a command line parameter. How would I go about prompting the user with a text input b...
Summary: Hi, I need to find the latest JRE from my system and assign it to JAVA_HOME in my batch file. I know the directory where the JRE files are located and...
Summary: Hi These subroutines may be useful for calculating date issues in Batch File coding. The sub-rountines use variables a-f so best to not to use them in...
Summary: Hi, I have a batch file that runs a command with parameters. The batch file contains just one line - EG: program.exe -uUsername -pPassword -cConnectio...