Abyssmedia.com Forum Index Abyssmedia.com
Abyssmedia Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to force a reboot at the end of compiled EXE

 
Post new topic   Reply to topic    Abyssmedia.com Forum Index -> Quick Batch File Compiler
View previous topic :: View next topic  
Author Message
techguy87



Joined: 17 Mar 2009
Posts: 1

PostPosted: Tue Mar 17, 2009 9:41 pm    Post subject: How to force a reboot at the end of compiled EXE Reply with quote

I want to force a reboot (Windows XP) at the end of my batch file, and I know the command:
Code:
shutdown -r -t 10 -f

But when I compile my batch file and run it, it will not reboot. I have tried changing the command to
Code:
start /wait C:\Windows\System32\shutdown.exe -r -t 10 -f

but this does not work any better. Can anyone give me some suggestions?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Abyssmedia.com Forum Index -> Quick Batch File Compiler All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group