PDA

View Full Version : Shortcut key command...


kylekwan
12-09-2003, 09:29 AM
hi pal,

I'm trying to create shortcut in windows, and if possible understand what the command is all about.

For example: i can create a shutdown shortcut with 'SHUTDOWN -s -t 01'. But i dun understand what is the -s -t means!

I get the code from a website which i couldn't remember the site name. I apologise for that...

But where can i look for reference that tells me more about all the short code.

Thank you

singularity2006
12-09-2003, 07:28 PM
google is your best shot for that but those switches I think, from the letters, might mean something like:

s: suppress all messages
t: eh, I don't know this one.

quinox
12-09-2003, 08:14 PM
/? is your dos-friend :)


prompt> shutdown /?

Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "c
omment"] [-d up:xx:yy]

No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \\computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c "comment" Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without warning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)

kylekwan
12-10-2003, 03:06 PM
thank you very much...

I didn't use dos mode... haven't really deals with one... so i'm a bit loss when i saw that code...

Thank you for helping me... at least now i know what was that....

Last, thanks dude!:beer:

CGTalk Moderation
01-16-2006, 05:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.