Re: XP Hangs Using Shutdown Scripts
- From: Charles Waters <charlestwaters@xxxxxxxxxxxxx>
- Date: Sun, 29 Jan 2006 14:07:27 -0800
How would I change it to a .cmd file? Would it still be executed as a
batch file!?
--- Charles!
On Fri, 27 Jan 2006 23:13:42 +0000, Samuria <samuria@xxxxxxxx> wrote:
>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: Re: XP Hangs Using Shutdown Scripts
- From: Liza Veta
- Re: Re: XP Hangs Using Shutdown Scripts
- References:
- XP Hangs Using Shutdown Scripts
- From: Charles Waters
- Re: XP Hangs Using Shutdown Scripts
- From: Samuria
- XP Hangs Using Shutdown Scripts
- Prev by Date: Re: Anyone for tea and scones?
- Next by Date: Re: Re: McAfee v4.5.1 SP1 and Windows XP SP2 (Crashes on boot-up)
- Previous by thread: Re: XP Hangs Using Shutdown Scripts
- Next by thread: Re: Re: XP Hangs Using Shutdown Scripts
- Index(es):
Relevant Pages
|