Summary: Hi all, I am trying to build some sort of API made of batch files. Each of them needs to be able to output one or more parameters. These batch files w...
Summary: Klint has a very good point. The below should tell if cygwin.bat is indeed being found or not: for %%a in (cygwin.bat) do ( if "%%~$path:a"=="" ...
Summary: Are you sure they both worked fine?? I didn't test the second one and just realized that I screwed it up(can't use else on &&)...... Anyway the first ...
Summary: I have fixed problem with records that contain "flight" elsewhere in the line by using "findstr /b", but I can't replicate the missing delimiter.... T...
Summary: As razor points out, both examples are functionally identical. I think what you may be missing is the idea of "nesting" itself, basically all it means...
Summary: Creating an Encoder cause I'm bored. I have a problem. I ask for the users input to a variable called %Sentence% But what I'm struggling to do is to c...
Summary: To expand on M2's answer: variable is just the word 'variable' (but see below). %variable% gets "expanded" i.e. translated to its value and literally ...
Summary: I found a batch script to search all drives and delete the autorun.inf file on this forum I want that method but change it up a bit. I would like to S...
Summary: Hi, I'm pretty new to batch program, but I've been asked at work to create a batch that renames one file, then renames another file to the name of the...
Summary: I am trying to write a batch file that will iterate through the files in a folder. As soon as it hits the 4th one (and subsequent ones) it will move t...
Summary: Yes. You should make the image link to something like "http://mysite.com/counter.php?ad=2". The "counter.php" page connect to a database, increment th...
Summary: Okay test to see if this will work for you. Instead of using the basename, I changed it to split the filename by using the .'s as the delimiter and s...
Summary: maybe try using "success"/"fail" as the delimiters? then test for value not null and if not null, increment a counter. something like: set delayed exp...
Summary: Hi, Am tryin to develop a dos based application for displaying time in the taskbar when the window is minimized. The code goes like this. @echo off :t...
Summary: My bad. I start with 3 SELT*.EXT files, create times are 10a, 12p and 2p. At the end of the batch run, I only get one copy of the 10a file and its ...
Summary: I was trying to see if there is a method to count the number of files in a zip archive with out extracting it. I had a look at winzip's command line i...
Summary: Looking to batch rename files. Looking for free renamer that can move part of the file name from one place to another (front to end) 04.03.09 LOS A...
Summary: Hello :-)! There is a problem with building project in NetBeans. I've got two directories sphinx4-1.0beta3-src and sphinx4-1.0beta3-bin, which are par...
Summary: I would like to make a batch file that kind find the largest file in a directory and launch it. I have basic batch creation knowledge and I can find t...
Summary: The easiest way I can think to accomplish what you want is to use a VBScript, if you can run a batch file you can run a VBScript. All you have to do ...
Summary: "tokens=* skip=27 delims= " You might (Might, as in I haven't tested it) get an improvement by using the following options: "skip=27 delims=" If that ...
Summary: Hello, I am trying to do something that would seem simple enough here but I can't seem to figure it out. I am trying to make a batch file that will ch...
Summary: I can't really test it but perhaps your after something like this: @echo off :begin setlocal disabledelayedexpansion set machine= :check set /p machi...