I have a bat file that I run to backup documents to a USB drive for
people, over the holidays I ran into two that ran over 4 hours slowing
them down the computer to a crawl. Is there away I can add a
pause/continue function so we can look at issues with out aborting and
restarting
thanks
Use XXcopy from www.xxcopy.com instead.
It has the ability to skip files that exist already, which makes
restarting simple.
As for a slow machine while copying - if you are using XP and hard
drives in IDE mode (not AHCI) then check all the IDE channels in device
manager > IDE controllers, and if any are in PIO mode and not DMA mode
then remove all the IDE controllers in device manager and reboot.
That's a common fault with XP that slows a machine to a crawl.
--
Regards,
Mic
IIRC, you can press the Pause/Break key to pause, and then Enter to resume.
The PAUSE command?
Frank
I see pause has been mentioned...
mem
pause
dir
Ping gets used often in batch files here too
mem
ping -n 3 localhost
dir
You may have @echo off in your batch file & it could hide what the system
is doing, you could rem it out or turn the echo back on (echo on) in your
batch file to see whats going on which is a way to debug batch files...
When I added a counter & stuff like that to my batch files it seems to
have extremely slowed them down.
You might be intrested in trying out Glary Utilities &
IObit Advanced SystemCare & see if they help.
IObit Advanced SystemCare found over 9,000 problems on my system...
Just like xcopy /d ...
Or try CryCopy http://www.cryer.co.uk/downloads/crycopy/ which does the same
with the added bonuses that (i.) it will let you delete files that no longer
exist in the source and (ii.) its free.
--
Brian Cryer
http://www.cryer.co.uk/brian
Like others have suggested, provided your xcopy is generating output to
stdout then you can simply hit the pause key.
If its slow then I'd suspect a disk related problem - either with the source
disk or with the USB drive. I'd start by looking in the windows system event
log to see if any issues are reported there. A chkdsk on both the usb and
source disk might be a good idea too.
both would work but you must install software
this task is done on other peoples computers most of the time before
upgrade of rebuild of OS
thanks