devil270975 Posted August 11, 2003 Share 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......... Link to comment Share on other sites More sharing options...
Aaron Posted August 11, 2003 Share Posted August 11, 2003 FAQ - see last question Link to comment Share on other sites More sharing options...
devil270975 Posted August 11, 2003 Author Share 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???? Link to comment Share on other sites More sharing options...
DaveXP Posted August 11, 2003 Share Posted August 11, 2003 You Need Network card for it to work Link to comment Share on other sites More sharing options...
devil270975 Posted August 11, 2003 Author Share 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 Link to comment Share on other sites More sharing options...
DaveXP Posted August 11, 2003 Share 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 Link to comment Share on other sites More sharing options...
devil270975 Posted August 11, 2003 Author Share Posted August 11, 2003 Thanks T3, Or you could just use SHUTDOWN -r -t 60 in a cmd script.... Link to comment Share on other sites More sharing options...
DaveXP Posted August 11, 2003 Share Posted August 11, 2003 Thanks T3, Or you could just use SHUTDOWN -r -t 60 in a cmd script....No Link to comment Share on other sites More sharing options...
devil270975 Posted August 11, 2003 Author Share Posted August 11, 2003 why can i not use that?????Please be a little more specific as to the reason Link to comment Share on other sites More sharing options...
Aaron Posted August 11, 2003 Share Posted August 11, 2003 shutdown isn't a valid command nor supported by Win2k/XP Link to comment Share on other sites More sharing options...
DaveXP Posted August 11, 2003 Share Posted August 11, 2003 shutdown isn't a valid command nor supported by Win2k/XPAgreed Link to comment Share on other sites More sharing options...
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