Forum     

Go Back   Digit Technology Discussion Forum > Hardware > Hardware Q&A
Register FAQ Calendar Mark Forums Read

Hardware Q&A Discuss basic Hardware problems, find solutions to your hardware queries which don't fit in the other sections.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 22-07-2008, 01:11 PM   #1 (permalink)
Apprentice
 
rameeze's Avatar
 
Join Date: Apr 2008
Posts: 92
Default need help in shutdown command


how can i create a batch file to take input from users as time in command "shutdown -s -t <TIME>
rameeze is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 22-07-2008, 06:51 PM   #2 (permalink)
Legen-wait for it-dary!
 
dheeraj_kumar's Avatar
 
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
Default Re: need help in shutdown command

shutdown -s -t %1

thats it... save it as shut.bat or something... and "shut 1000" is 1000 seconds delay etc. its called command line arguments. You can use the choice command in batch scripting but you can only choose between a list of options, as far as i know. Google for more help.
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
dheeraj_kumar is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Command pvsraao Hardware Q&A 2 22-11-2007 12:11 AM
COMMAND & CONQUER UPDATE - EA shoots out Command & Conquer 3 demo techtronic Gamerz 1 28-02-2007 12:18 PM
Windows SHUTDOWN Problem, system freezez on shutdown screen catch_maxi Software Q&A 2 16-03-2006 07:38 PM
"improper shutdown" msg on proper shutdown mvishnu QnA (read only) 2 26-02-2006 06:50 PM
use of shutdown -i command mako_123 QnA (read only) 1 06-10-2005 07:03 PM

 
Latest Threads
- by icebags
- by ico
- by trublu

Advertisement




All times are GMT +5.5. The time now is 04:29 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2