Re: XP Hangs Using Shutdown Scripts
- From: Samuria <samuria@xxxxxxxx>
- Date: Fri, 27 Jan 2006 23:13:42 +0000
On Fri, 27 Jan 2006 11:58:58 -0800, Charles Waters
<charlestwaters@xxxxxxxxxxxxx> wrote:
I can see you would have problems on shutdown as windows may well
shutdown before the script finishes if there are a lot of files. It
may not complete on the temp file dir if they are in use.
It should run ok if you create a cmd file and add it to the startup
group. you may need to change the attrib on the files if some are
readonly it wont delete them and the script may fail do a attrib -r
*.* /s /d before each del command
>Here's my dilema...
>
>Win XP SP2, and trying to run the following file during shutdown...
>
>RD C:\Directory1 /S /Q
>RD C:\Directory2 /S /Q
>RD C:\Directory3 /S /Q
>RD C:\Windows\Temp /S /Q
>
>Problem is, when I run this file, the system hangs at "Running
>Shutdown Scripts". I have tried with both an EXIT, and no EXIT at the
>end of the file, and same response.
>
>Also, I have put this file in as a Startup Script, and I can tell it
>doesn't run at startup, because all 4 directories are either still
>there, or the ones that are still there, have old data in them.
>
>Any help from anyone?
>
>--- Charles!
.
- Follow-Ups:
- Re: XP Hangs Using Shutdown Scripts
- From: Charles Waters
- Re: XP Hangs Using Shutdown Scripts
- References:
- XP Hangs Using Shutdown Scripts
- From: Charles Waters
- XP Hangs Using Shutdown Scripts
- Prev by Date: Re: XP Pro key
- Next by Date: reinstalled XP w/o decrypting some files stored on another drive
- Previous by thread: XP Hangs Using Shutdown Scripts
- Next by thread: Re: XP Hangs Using Shutdown Scripts
- Index(es):
Relevant Pages
|