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

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

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

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

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 for2: Shortcut shutdown in 2 ways - difference?
Thread Forum
Odd ways to park a car Chillout Room
Remote Shutdown Dialog Shortcut - Create Tutorials
Using G15 Keyboard 3 Ways Hardware & Devices
Ways to receive a FAX? Network & Sharing
Other ways of donating? Chillout Room
5 ways to speed up your PC General Discussion
Ways to Die Gaming

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 01:32 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33