Summary: M2, I'm trying to get the bat file you gave to work on a small sample. My small file called MyTest.txt has 3 records ONLY Rec# Content 1 Success 2 ...
Summary: Hi I am trying to write a batch file that will list the files and sizes in a directory based on the file that is passed to the batch file as a paramet...
Summary: I ran a .bat against a network drive and returned all dir/sub dirs and it listed total counts and sizes for the dir and sub dir in bytes, as well as l...
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: Hi Razor2.3, this works fine in xp but does not in windows7 64bit. Can you explain how I do that. I am a complete beginner with respect to scripting. ...
Summary: hey, lots of bandwidth on this one! one other thing i noticed. looking at my "login" ftp script, is using option "-n". (see: ftp -? for details). it s...
Summary: Hello, I am trying to get a BAT file to perform specific cleanup based on the volume label. I think I am getting close, but can't quite seem to get i...
Summary: Hi there! I would like to post a question here about batch file and "if else if" support. I have googled and found people suggest using "nested if" ...
Summary: from looking in this forum, there's a way to change date format in Xp. (possibly even specific to "dir" cmd). if so, the easiest way would be change f...
Summary: Hello wrs I can help you get what you want. But i'm afraid it's not a Batch file. I tried doing it in a batch file but failed. But it is possible with...
Summary: HI, I need to write a batch script which will unzip all the .Zip files from a folder XYZ. Inside the folder XYZ there are multiple .Zip files I need t...
Summary: Your title is wrong, DOS is an obsolete 16-bit operating system and not a batch-file command processor. There is no DOS in Windows XP. What you are us...
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: i think you need to have the program run reg.exe via shell: k="\HKLM\Software\Microsoft\Windows\cCurrentversion\Run" shell ("reg import "+k+" startup"...
Summary: :: MYREN.BAT Usage: myren Folder_Name @echo off pushd %* for %%i in (*.doc) do ( for /F "tokens=1,*" %%j in ("%%~ni") do ren "%%i" "%%k %%j.do_" )...
Summary: I need a bat file to run every 5 minutes and copy only the new/modified files. each time the script runs its to place the files in a new folder by dat...
Summary: I need to split "FLIGHT" records in a TXT file starting after 11th position, and identify next record as "ICAO". Sample input Flight§6805(ZBAA - RJAA...
Summary: Hi again, I need to append FLIGHT\ at the front of all records that have ( in position 23 in a TXT file. Help for a BAT file would be greatly apprecia...
Summary: setlocal enabledelayedexpansion set /a Atarg=2 set /a Btarg=4 set mid1=My friends name is set mid2= and id is set /a N=0 for /f "tokens=1 delims=" ...
Summary: Hi, I'm getting confused on trying to use numeric variables in BAT files. I've seen these names: variable _variable %variable %variable% Specifically...
Summary: I may be wrong here, but standard windows XP doesnt have net send enabled. So you can enable it yourself (look on google how to do that.) You will hav...
Summary: if your system is running task scheduler (schtasks.exe), I would use "at" command to run your batchfile, and put a 15-minute timer advance into the ba...
Summary: the only way I know is to have the remote run a client-side registry dump of key HKLM\Network\Logon and pull the data from key "username". I'm sure th...
Summary: Thanks for all the info! I had already tried CD /d without success. I simplified my files for testing this. Here are my 2 test files (they reside in d...