Hello, I return towards you for a small explanation about the creation of the shortcuts for “stop” (shutdown.exe - S) and “to start again” (shutdown.exe - R)… Can anyone write up such tasks and give me the command lins for it. Thank you
Hello, I return towards you for a small explanation about the creation of the shortcuts for “stop” (shutdown.exe - S) and “to start again” (shutdown.exe - R)… Can anyone write up such tasks and give me the command lins for it. Thank you
I feel sad for people with good imagination.
Yes you can get it cause it is however not too complicated…
shutdown/?
Use: shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f] [/m \ \ computer] [/t xxx] [/d [p|U:]xx: yy [/c “comment”]]
Without argument To post the assistance. That amounts entering/?.
/? To post the assistance. That amounts not entering no option.
/i To post the graphic user interface (GUI).
It must be the first option.
/l To close the session. Cannot be used with the option /m or /d.
/s To stop the computer.
/r To stop and start again the computer.
/g Extinguish and start again the computer. Once the re-initialized system, start again any recorded application.
/a To cancel a stop of the system.
That can be only used for the period of time.
/p To stop the local computer without delay of expiry or warning.
Can be used with the option /d or /f.
/h To put the local computer in prolonged day before.
Usable with the /f option.
/e To document the reason of the unexpected stop of a computer.
/m \ \ computer To specify the target computer.
/t xxx To define the period of time before the stop at the end of xxx seconds.
The valid beach lies between 0 and 600,30 being the default value.
The use of /t xxx implies the /f option.
/c “comment” Comment on the reason of the restarting or the stop.
512 authorized characters maximum.
/f To force the closing of the applications in the course of execution without front ertir the users.
/f is automatically defined during a use in conjoncti one with /t xxx.
/d [p|U:]xx: yy Fournir reason of the restarting or the stop.
p indicates that the restarting or the stop is planned.
U indicates that the reason is defined by the user.
If neither p nor U are specified, the restarting or the stop is not planned.
xx is the code of imperative reason (whole positive lower than 256).
yy is the minor code of reason (whole positive lower than 65536).
DFI LANPARTY SLI-DR
AMD 64 x2 4800+
OCZ (2 x 512) DDR600
Did you mean the services?
You have two native tools for this:
NET STOP service_name
SC stop service_name
Use sc queryex to find the shortname for the service of interest. It is this shortname that is used in either of the commands above.
This is a handy little shortcut I use on all my desktops. It saves the hassle of clicking START, Turn Off Computer, then choosing Shutdown or Restart.
- Right Click an empty area on your desktop
- Choose New, shortcut
- In the location box type or copy and paste this: %windir%\system32\shutdown.exe -s -t 00
- Hit Next
- You can change the name to Shutdown, or whatever you want
- Click finish
You can do the same thing for a Restart shortcut by putting this in the location box: %windir%\system32\shutdown.exe -r -t 00
Command : shutdown
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]
-iDisplay GUI interface, must be the first option-lLog off (cannot be used with -m option)-sShutdown the computer-rShutdown and restart the computer-aAbort a system shutdown-m \\computernameRemote computer to shutdown/restart/abort-t xxSet timeout for shutdown to xx seconds-c "comment"Shutdown comment (maximum of 127 characters)-fForces 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)
Bookmarks