The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
Google UNIX.COM


Windows & DOS: Issues & Discussions Questions involving Unix to Windows (Desktop or Server) go here. Any Windows/DOS questions should go here as well.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shutdown aewpcoles UNIX for Advanced & Expert Users 6 08-03-2006 06:46 AM
ftp file from Windows to Unix automatically whatisthis Shell Programming and Scripting 4 11-14-2005 10:55 AM
SCO 5.06 :automatic shutdown on the job? rendechen SCO 1 01-06-2005 02:05 PM
to shutdown rajashekaran UNIX for Advanced & Expert Users 2 02-18-2002 09:42 AM
Shutdown Problem lance UNIX for Advanced & Expert Users 1 09-06-2001 07:48 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-26-2008
Registered User
 

Join Date: May 2008
Posts: 4
Question Automatically shutdown windows

Hi,

I'm trying to create a program on how to automatically shutdown my pc for a certain number of minutes. Well, actually i was able to make a very simple one by utilizing the shutdown.exe of windows. Now i'm trying to improve it by adding a function such that i can program my windows to automatically shutdown right after a process stops. Lets say for example i'm running a batch in windows and it's taking a long time to finish. What i want to happen is for windows to automatically shutdown after my batch process ends. Are there any ways i can do this in unix? because the code i made is, i think, a dos code.

example:
shutdown -s -f -t 3600 --> windows shutsdown after 1 hour

many thanks.
mickey
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-26-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,108
Certainly, you can do that in UNIX, what is your OS flavor ?
Reply With Quote
  #3 (permalink)  
Old 05-27-2008
Registered User
 

Join Date: May 2008
Posts: 4
Automatically shutdown windows

Windows XP and Vista Ultimate for my 2 PCs.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:59 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0