• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

DOS batch file gurus... looking for advice

ColKurtz

Senior member
We are running a utility called scrub3 that securely erases data on our server. The utility takes rougly 30 minutes complete. We actually only need it to scrub the first 32MB of data, about 3 minute's worth. If we manually break out of the process 3-4 minutes in, we're fine, but we need to automate it. It's actually a pretty big issue for us b/c these servers are designed to e restaged very quickly.

This scrub utility is being launched from a DOS boot floppy from the autoexec.bat file. I'm trying to find out if there's a way to break out a batch file after a specified amount of time... like some counter program that runs right before I call the scrub file and it sends a break signal after 3 minutes or so.

TIA.
 
Yes, I think you can do this from the timing functions that are built into good ole GW-BASIC, version 3.23 I think !!!

Good luck.
 
psexec \\server scrub.exe
sleep 180
pskill \\server <name of process>

might work...that uses the pstools from Systernals
 
Back
Top