Summary: Ok so i have this batch file to ping a list of ip's This is what i have: @echo off cd C:\Documents and Settings\username\My Documents\Ping printers pi...
Summary: Hello, I am kindly looking for a batch file that will do the following. 1. I have a list of 10 PC names in a text file (pcnames.txt) 2. I want to ping...
Summary: Hi, I would like to pass a commandline argument to another batch/exe, it looks like this: start filename.exe mod=something "mod=something" is ONE SING...
Summary: I have a text file with a list of email address (email.txt), one per line and nothing else, no line numbers or anything. I'm trying to write a batch f...
Summary: I have just started playing with batch files and have no experiance so be gentle with me. I have written the following batch file and my question is t...
Summary: Probably isn't the answer you were looking for, however have you looked into Windows "PowerShell" at all? It is free to use and a very valuable and p...
Summary: If you only want to output errors into a separate log you don't need to duplicate the handle. command 2>errorlog.txt or command>log.html 2>errorlog.t...
Summary: Hello all, I have a simple logoff batch script that looks like this: echo Last Logoff for %Username% was on: %date% at %time% > \\Server\Apps\Logs\Log...
Summary: I've been messing around for a few days now, trying to get a for loop to work to shutdown certain PC's in certain IP ranges in our network. I have a t...
Summary: I'm using the following batch file to automatically create an argument for a program from user input and a filename listing using the DIR command. S...
Summary: I am redesigning an older batch script to redirect the output to HTML instead of text. I have converted most of the script, but have one section tha...
Summary: Could you please help me with one more thing... I have a txt file with the following content: ================= Starting EC2 instance i-8xxx3e8... Sta...
Summary: Add this to your batch to make it wait before doing the next file. The time is in milli-seconds, so 60000 is 60 seconds Also if this doesn't fit into...
Summary: Sorry for the delayed response, I have been away. Here are the real strings: When my query produces results the first string is: Security log on \\...
Summary: It dependes upon exactly what you want to do with the data. Normally, you read one record, process it, output the results and then move on to the nex...
Summary: Let's see how well I can explain this. Here is my situation I work in a retail evironment with 70 + stores and continuing to grow. Instead of adding...
Summary: In your program: your prototypes *should* contain void in the argument list if you're not passing a value into them int diamond(void); your definiti...
Summary: ok, i will admit i am truly lost and need help with this program. BELOW IS THE PROGRAM I HAVE SO FAR. I KNOW SOME PARTS OF THIS IS NOT CORRECT, BUT I ...
Summary: I use rmdir /s @echo off rmdir /s /q somedir mkdir somedir That removes all subfolders, files, and the directory itself. I don't see the point in writ...
Summary: A much easier way of going about this task would be to have the machine you want to query send a notification to your server say every 30 minutes tell...
Summary: I am a complete neophyte in this, so my questions probably sound like dumb ones. I do have experience writing programs in C, so I I know a bit about s...
Summary: I would like a batch file that will delete sub-directories and the files contained in them, but it should keep the most recent 10 directories. example...