Pausing a Windows 7 batch file

I was working on another batch file today and needed a way for the script to wait for a given number of seconds before continuing to execute.  On a whim, I tried the wait command by adding “wait 30“, thinking the script would wait at that spot for 30 seconds before continuing.

The script did wait for 30 seconds, but instead of continuing to execute, it simply Continue reading

Advertisements

Kill processes using command prompt in Windows 7

I was working on a startup script this morning and needed a way for the script to kill one process before starting up a new process.  I’ve used pskill.exe in the past, but wanted to find out if there were any built-in tools in Windows 7 before resorting to Sysinternals components.

It just so happens that Continue reading