क्या कमांड प्रॉम्प्ट से विंडोज़ को बंद करना नुकसान का कारण बनता है?

विषयसूची:

क्या कमांड प्रॉम्प्ट से विंडोज़ को बंद करना नुकसान का कारण बनता है?
क्या कमांड प्रॉम्प्ट से विंडोज़ को बंद करना नुकसान का कारण बनता है?

वीडियो: क्या कमांड प्रॉम्प्ट से विंडोज़ को बंद करना नुकसान का कारण बनता है?

वीडियो: क्या कमांड प्रॉम्प्ट से विंडोज़ को बंद करना नुकसान का कारण बनता है?
वीडियो: Remove 👻 SmartThings Devices - YouTube 2024, अप्रैल
Anonim
हम में से अधिकांश हमारे विंडोज सिस्टम को बंद करने के लिए स्टार्ट मेनू का उपयोग करते हैं, लेकिन यदि आप इसके बजाय कमांड लाइन का उपयोग करना चुनते हैं तो नुकसान का कारण बनना संभव है? क्या कोई विशेष आदेश है जो नुकसान पहुंचा सकता है जबकि अन्य नहीं करते हैं? आज के सुपर यूज़र क्यू एंड ए पोस्ट में एक चिंतित पाठक के सवाल का जवाब है।
हम में से अधिकांश हमारे विंडोज सिस्टम को बंद करने के लिए स्टार्ट मेनू का उपयोग करते हैं, लेकिन यदि आप इसके बजाय कमांड लाइन का उपयोग करना चुनते हैं तो नुकसान का कारण बनना संभव है? क्या कोई विशेष आदेश है जो नुकसान पहुंचा सकता है जबकि अन्य नहीं करते हैं? आज के सुपर यूज़र क्यू एंड ए पोस्ट में एक चिंतित पाठक के सवाल का जवाब है।

आज का प्रश्न और उत्तर सत्र हमारे पास सुपरयूसर की सौजन्य है - स्टैक एक्सचेंज का एक उपविभाग, क्यू एंड ए वेब साइट्स का एक समुदाय संचालित समूह।

एसिड पिक्स (फ़्लिकर) की स्क्रीनशॉट सौजन्य।

प्रश्न

सुपर यूज़र रीडर फ्लिपफ्लूप जानना चाहता है कि कंप्यूटर को बंद करने के लिए विंडोज सीएमडी का उपयोग करने से नुकसान हो सकता है:

When you launch shutdown -i to shut down a computer via the command prompt (CMD), does it damage the computer that is being turned off (either locally or remotely)?

क्या कंप्यूटर सीएमडी का उपयोग कंप्यूटर कारण को बंद करने के लिए करता है?

उत्तर

सुपरयूसर योगदानकर्ता मार्को बोनेली और एलपीसीश के पास हमारे लिए जवाब है। सबसे पहले, मार्को बोनेली:

The shutdown command in Windows performs a normal shutdown/reboot/logoff on the computer (locally or remotely). If you closed all of your running programs and saved your files, there is no difference between running any shutdown command (with any parameter) or using the Windows interface via the Start Menu. The command does not damage the computer or file system in any way.

More About Running Programs

If any programs preventing the shutdown are running, Windows will automatically try to terminate them and, if that is not possible, will prompt you about it. The only problem you can have here arises with programs performing unsaved changes to files. If they provide an automatic recovery of improperly closed sessions like Microsoft Office for example, they will save their state to recover it on the next start, otherwise you will lose the unsaved data.

एलपीसीपी से जवाब का पालन करें:

No, it will not. When you use the Start Menu to shut down a computer, it will also use the same shutdown command, just with different parameters.

The shutdown -i option was made to expose features that the Windows Start Menu does not offer without use of the Command Line. For example, shutdown -i can be used to send a shutdown command to another computer.

In the same fashion that shutdown -i will not damage your computer, neither will shutdown -s -t 0.

There is also the -f option, which is used to force a shutdown. This will not damage your Windows system, but it may cause any unsaved data (such as an unsaved open word document) to be lost.

Normally, Windows will show you a dialog of some sort like, “There is a program preventing shutdown. Do you want to cancel or continue anyway?” A timeout will eventually abort the shutdown. With the -f option, instead of showing you the message, it will assume that you wish to continue anyway and close any remaining programs.

स्पष्टीकरण में जोड़ने के लिए कुछ है? टिप्पणियों में विचार व्यक्त करो। अन्य तकनीक-समझदार स्टैक एक्सचेंज उपयोगकर्ताओं से अधिक उत्तरों पढ़ना चाहते हैं? यहां पूर्ण चर्चा धागा देखें।

सिफारिश की: