MSFN Forum: Shutdown command in CleanUp.cmd - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Shutdown command in CleanUp.cmd Rate Topic: -----

#1 User is offline   Kevjm59 

  • Group: Members
  • Posts: 4
  • Joined: 25-May 05

Posted 14 April 2006 - 07:57 AM

My CleanUp.cmd contains the following lines:

shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."
net user aspnet /delete
DEL "%systemroot%\*.bmp"
DEL "%systemroot%\Web\Wallpaper\*.jpg"
DEL "%systemroot%\system32\dllcache\*.scr"
DEL "%systemroot%\system32\*.scr"
EXIT


Does anyone know of an alternative to shutdown.exe? Preferably I'm looking for a solution that uses the same kind of reboot interface that is used in other parts of the windows installation

Thx

Kev


#2 User is offline   RyanVM 

  • Like a big surly teddy bear.
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,661
  • Joined: 31-August 03

Posted 14 April 2006 - 09:08 AM

http://www.sysintern...PsShutdown.html

#3 User is offline   Kevjm59 

  • Group: Members
  • Posts: 4
  • Joined: 25-May 05

Posted 14 April 2006 - 02:50 PM

Thanks Ryan, I'll give that a try

Kev

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy