Summary: Hi lee123abc, I got your message and here I am. A post is not well suited to host a lesson on scripting style that probably looks cumbersome to you du...
Summary: What is the language of coding given? What software to run it? It is the first time i use dos. It's an xp batch file. Just a simple text file with eit...
Summary: I use 'for' interactively, e.g. if I want to prefix my filenames I just quickly type for %f in (*) do @ren %f xxx%f. However, I don't see what that ...
Summary: this place is great! thanks for all the response.. now ill try to comment and clarify.. first of... fsum is a checksum program... creates sums and ver...
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 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: 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: I’m just getting started with VB Script and I need to figure out how to compare two text files for duplicate numbers and then echo those duplicates....
Summary: i've worked some with vfp, and based on my experience, i would guess that vfp cannot open and extract PDF files text. If however you have access to vi...
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: are you absolutely, irrevocobaly, wihtout-a-doubt sure your professor/company wants this in GWBASIC??? GWBASIC is as using two sticks to make fire, al...
Summary: it seems like you could use m2's code, then create the timestamp directory then copy all the files into the newly created timestamp dir. setlocal enab...
Summary: About the delimiter, I can use any character that suits your needs. I put them in myself during the extraction. I tried using Æ, with same results, I...
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: 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: 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: 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: 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: @MayhemMehod gawk is just an executable, much like ping.exe , ftp.exe. You can run it inside your batch file as per normal eg @echo off .... gawk '{g...
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've been working on and off on a little project for my work now for a while now and I think I have finished it now. All I'm asking for is a couple of...
Summary: I don't have the exe to test it, but a couple things: In your FOR loop maybe you need tokens=* Maybe this: IF %ERRORLEVEL% NEQ 0 ( could be: IF !ERROR...
Summary: Ok for this problem I don't have many ideas on how to go about it. I have a file of 300 UserId (userids.txt) in the following format John.Smith John.D...