Summary: Hi, I have a DOS For loop that goes through a file I named test.txt. Within this file, it contains a series of dates: 20081112 20081111 20081110 ......
Summary: Hi, I have a problem with my batch file. I ran my script to get the next process number from the Num file. Here the problem is that instead the...
Summary: I'm trying to retrieve a pattern from an output which I get to console: so I use a for loop to take in input this output from the console. The issue i...
Summary: I want to run a for loop in DOS searching for .zip files, cd to that directory that contains that found .zip file, unzip and return to the previous di...
Summary: Hi, I'm trying to write a command for DOS command prompt that will call an executable and save the results to a text file. So I want to achieve this: ...
Summary: I recently got hit by a batch virus. (I know I was surprised they even existed anymore). It might have changed it's original name so I am trying to do...
Summary: I want to count in for loop but did not work. here is my code. set count= for /f "tokens=*" %%s in (external_ip.dat) do ( set /a COUNT+=1 ech...
Summary: rem ---------- compare .c file list with .o list --------------- for /f "tokens=* delims=" %%a in (c_list.txt) do ( set pathname1=%%~dpa set filename1...
Summary: Hello, I have this do until loop in my script: '========================================================= Range(cellchoice).Select Do Until Activ...
Summary: Here is the code: for /f %%Q in (machines.txt) do ( ping -n 1 -w 3 %PingThis% IF %ERRORLEVEL% == 0 echo %%Q >> alive.txt ELSE echo %%Q Failed Ping >> ...
Summary: Hi, I need to run a particular se of commands repetatively for some number of times provided by userin for loop. I am doing it this way user input the...
Summary: k im new and i just want to make a program that uses for loops to somehow interate and print out every unicode symbol from 0001 to 9999. basically all...
Summary: Hi. I am learning one dimensional arrays in C++ out of a couple books. I noticed that a common way to initialize these arrays was using a "for" loop. ...
Summary: I've been trying to get a for loop to display a pattern of decreasing, left-indented characters for about 3 days now. The assignment is to write a men...
Summary: K, im currently learning java and I wanted to make a program that is short and prints all the unicode symbols out in the cmd prompt (preferably on the...
Summary: hi thanks a tons for helping me earlier I am stuck with a small problem Thru the following code i am able to create the folders but my problem is tha...
Summary: i am just starting a java class and we are on do while loops i am having a bit of truble understanding how they work and how to use them. one of my qu...
Summary: It's OK. I found out how to do it at: http://www.seanet.com/~shardy/ntscript.html#forvarfaq Here's how: Environment variables that get evaluated with...
Summary: I'm looping through every argument and then if they pass in the '-d' flag, loop through every file in that dir using another FOR loop. For some reason...
Summary: Hi. There is no need for an array variable in this case. However, if it is required in your assignment you should implement one. But I did not see any...
Summary: I have a FOR loop in a Batch Script on XP Pro. FOR /L %%A IN (1 1 %engine_instance%) DO ( type %logs_dir%\sim_engine_%%A.log | FIND "Customers Proces...
Summary: I have written a lengthy script for work to remotely install services, remotely kill processes, etc. and am stuck on one thing. On an individual bas...
Summary: To Mechanix2Go, when calling a 'function' ..i.e. call :sub1 %%a the function uses the space as a delim instead of keeping the same delim as the for lo...
Summary: I want to be able to perform something to each file of certain type inside a folder. I have this script from something else I've done. for /f "tokens=...