devil270975 Posted August 11, 2003 Posted August 11, 2003 Hi there, Can anyone tell me why when i when i delete the screensavers from my main cmd.script they are still accesible????? i know the code works cus i cut and pasted it into another script and ran it manually and it removed them, shortly followed by a WFP message, if anyone can shed any light on this matter i would be very greatfull..Lee.........
devil270975 Posted August 11, 2003 Author Posted August 11, 2003 Thanks for that Aarron, i will try it later, my whole .sif file needs sorting first and then my scripts, keep up the good work with the site....Lee....P.s. any reason why the psshutdown dont shutdown????
devil270975 Posted August 11, 2003 Author Posted August 11, 2003 Could i write a simple VBScript to restart the pc then and use that instead????? and set sleep to 60000 ????ie:1 minute
DaveXP Posted August 11, 2003 Posted August 11, 2003 Set OpSysSet = GetObject("winmgmts:{(Shutdown)}//./root/cimv2").ExecQuery("select *from Win32_OperatingSystem where Primary=true")for each OpSys in OpSysSet OpSys.ShutDown()NextAaronXP posted this is a different post this is the script to shutdown the computer when finshed
devil270975 Posted August 11, 2003 Author Posted August 11, 2003 Thanks T3, Or you could just use SHUTDOWN -r -t 60 in a cmd script....
DaveXP Posted August 11, 2003 Posted August 11, 2003 Thanks T3, Or you could just use SHUTDOWN -r -t 60 in a cmd script....No
devil270975 Posted August 11, 2003 Author Posted August 11, 2003 why can i not use that?????Please be a little more specific as to the reason
Aaron Posted August 11, 2003 Posted August 11, 2003 shutdown isn't a valid command nor supported by Win2k/XP
DaveXP Posted August 11, 2003 Posted August 11, 2003 shutdown isn't a valid command nor supported by Win2k/XPAgreed
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now