Summary: It is possible to set the string inside a variable to another value eg set %var%=whatever. You, however, can not use variables that start with numbers...
Summary: Ok well I have a quick question to tag onto this topic. I have this script for renaming audio files in a folder depending on what track number they ar...
Summary: Hi, I'd like to know if there's a variable in batch that sets the running bat. In other languages you have that. In perl for example: usage: $0 list.t...
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: Hi, I am trying to create a batch file that searches a directory for a particular file and then uses the exact name of that file as a variable used as...
Summary: Dear all, I am having a trouble. I try to use the content of a variable as the name of a variable, in a loop. When I do the following outside a loop,...
Summary: The problem is in the batch renaming. I have a folder, full of files, which names have to be processed in such a way, that, for example, filename00.tx...
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: Hi, here's what i could need some help with.. 1. I want to read a whole txt document into a variable. Also it would be nice to check if a certain word...
Summary: There is a txtfile called Unique.txt that contains only one uniqueidentifier number. Inside my batch file, I'd like to read Unique.txt and put in a va...
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: 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 need help with a batch file in XP. I have a series of variables with the same prefix and an ascending suffix, like arg1, arg2, arg3 etc I'd like to ...
Summary: i'm passing a string that contains the name of a variable the prob is now that i can't seem to find a way to use the value of the string as a variable...
Summary: Guys... I'm beside myself trying to figure out why this variable (clickcounter) will not increment. As an overview, this program reads from the serial...
Summary: Hi all, I'm a beginner in batch files. I'm trying to read how many lines are in a file(lets say test.txt), store this number in a variable and dependi...
Summary: Thanks this is what I am after and would prefer to have it as a batch script. The only issue now is getting the "Total Physical Memory: 3,326 MB" by r...
Summary: I'm trying to write a PERL script that will create files with a name that depends on input from a user. In other words, I'm looking for something alon...
Summary: M2: "No point in clearing a var and setting it on the next line." The reason it's done is that the SET /P command does NOT set the variable if the use...
Summary: cypster, 1. for %%a in (*.txt) do ( 2. >%%a.# echo Good Morning 3. >>%%a.# type %%a 4. move/y %%a.# %%a 5. ) Explanation: 1. For every *.txt,...
Summary: Since you have a variable with n variables inside why not use a for /l loop. for /l %%a in (1 1 !n!) do echo !_blah%%a! Unfortunately the is no easy...
Summary: The script above was converting a variable named var, which was it's only needed input as all of the definitions were static. As for reading your text...