Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Shortcut shutdown in 2 ways - difference?

04 Apr 2013   #1
Burgurne

Windows 7 Ultimate x64 retail
 
 
Shortcut shutdown in 2 ways - difference?

Greetings.
I have been using your guide to a shutdown shortcut for some time, but now it has given me some troubbles (some programs don't shut down properly anymore for some reason).
I used this in the setting:
C:\Windows\System32\shutdown.exe -s -t 00 -f

I then found a solution like this:
C:\Windows\System32\shutdown.exe -p -f

For now it is working, but what is the difference in Windows 7 using one or the other method?


My System SpecsSystem Spec
.

04 Apr 2013   #2
LMiller7

Windows 7 Home Premium 32 bit
 
 

I don't see any practical difference at all.
The first command shuts down the computer with a delay that is explicitly set to 0 seconds.
The second command shuts down the computer with no delay. It is just a shorter form of the first.
My System SpecsSystem Spec
04 Apr 2013   #3
Ztruker

Windows 8 Core X64
 
 

Nothing obvious in the parameter definition either.

/s Shutdown the computer.

/p Turn off the local computer with no time-out or warning.

/f Force running applications to close without forewarning users.
The /f parameter is implied when a value greater than 0 is
specified for the /t parameter.
My System SpecsSystem Spec
.


05 Apr 2013   #4
Burgurne

Windows 7 Ultimate x64 retail
 
 

Ok. I will then continue to use the second solution, as it seems to work just fine.
Thank you for the answers
My System SpecsSystem Spec
Reply

 Shortcut shutdown in 2 ways - difference?




Thread Tools





Similar help and support threads
Thread Forum
Shortcut command to shutdown without cmd popup
Hello, I tried many commands with switches to shut down the system, but everything is popping a prompt and closes itself withing seconds. This is very annoying. Are there any way to shut down silently like default power button do?
General Discussion
Custom 'Desktop (create shortcut)' Remove .fileextension - Shortcut
Hi guys n girls, I have for ever got sick and tired of right click -> open Send to Menu and creating a Desktop Shortcut for a file or app....then needing to go to the Desktop right click the newly made shortcut and then removing the trailing file extension, dash and words shortcut in brackets....
Customization
Odd ways to park a car
I wonder how they managed some of those cars into their position. Set on full screen and speakers on. http://www.authorstream.com/Presentation/whs37-1235869-odd-car-parking/
Chillout Room
Remote Shutdown Dialog Shortcut - Create
How to Create a "Remote Shutdown Dialog" Shortcut This will show you how to create a Remote Shutdown Dialog shortcut to be able to shutdown or restart one or more remote networked computers \\ComputerName all at once. You must already have administrative privileges on the networked...
Tutorials
Using G15 Keyboard 3 Ways
Hey, I've had my G15 keyboard for my PC for ages now, but I've never taken advantage of the USB ports on the back of the keyboard. What I'm wondering is, can I plug the G15 into my PC, XBOX and PS3 all at once. To do this I could use 2 extra USB A to A connections. Has anyone done this before,...
Hardware & Devices
Other ways of donating?
Is there another way us kids can donate? Some of us don't have easy access to credit cards or anything like that. I was thinking something like.... Helping out with designs, BETA testing, member for 2 years or something. Do you get what I mean? Its not really donating, its more supporting....
Chillout Room

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:54.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App