... News | Home | Impressum | Contact | Thank you | Listed at | Link to me

HOME » Faq » FAQ - Windows-Command-Prompt »  ««« FAQ 07 OF 12 »»»

Close correctly, the command prompt e.g. cmd.exe!

ALT+F4 or close window button, is not the right solution to close the windows command prompt correctly!

If you want to close the command prompt via right way, use the EXIT command in windows command prompt! 
or Exit with exitCode!

(Image-1) correctly close, the window command prompt!
correctly close, the window command prompt!

The help file for EXIT command of windows command prompt!

Microsoft Windows XP
(C) Copyright 1985-2014 Microsoft Corp.

C:\Documents and Settings\Administrator\Desktop>EXIT /?
Quits the CMD.EXE program (command interpreter) or the current batch

EXIT [/B] [exitCode]

/B          specifies to exit the current batch script instead of
          CMD.EXE.  If executed from outside a batch script, it
          will quit CMD.EXE

exitCode    specifies a numeric number.  if /B is specified, sets
          ERRORLEVEL that number.  If quitting CMD.EXE, sets the process
          exit code with that number.

C:\Documents and Settings\Administrator\Desktop>

FAQ 7: Updated on: April 1th 2014 12:13
FAQ: Windows-Command-Prompt
2. How to find your IP Address quickly?
3. Delete and Overwrite permanently?
4. How to scans all protected system files?
5. How to displays all network connections and listening ports?
6. How to create at once, several subfolders levels?
7. Close correctly, the command prompt e.g. cmd.exe! ***
8. How to remove read-only or hidden file attribute vial cmd?
9. Taskkill with the Cmd.exe, how to use correct and useful with examples!
10. Make Windows command prompt wider, how to?
11. Long file and folder paths in the CMD prompt (insert,paste)!
12. Start programs with different priority classes, how to?


  Windows-Command-Prompt FAQ-INDEX


  My question is not there in the FAQ
Direct to FAQ:
# Q-DIR # WinScan2PDF # DontSleep # DesktopOK # Windows-10 # Windows-8 # Windows-7 # SoftwareOK # NewFileTime # ExperienceIndexOK # Run-Command # NonCompressibleFiles # BlankAndSecure # OnlyStopWatch # MultiClipBoardSlots # PointerStick # Extern-Downloads # DesktopSnowOK # System-General # Microsoft-Office # FileSystem # GetWindowText # TheAeroClock # ThisIsMyFile # AlwaysMouseWheel # Beginners # OneLoupe # Windows-Command-Prompt # ProcessKO # This-and-That-or-Other # IsMyHdOK # QuickTextPaste # MeinPlatz # Internet-WWW # FontViewOK # TraceRouteOK # Android # StressMyPC # Samsung-Galaxy # Glossar # WinBin2Iso
Asked questions on this answer:
Keywords: windows, command, prompt, close, correctly, cmd.exe, cmd, Questions, Answers, Software


Quick-Link's : hold your breath Optimize your processes. Restore Desktop icons
Home | Thanks | Contact | Link me | FAQ | English-AV | Impressum | Translate | PayPal | PAD-s
 © 2017 by Nenad Hrg softwareok.desoftwareok.comsoftwareok.eu
Customizable file and folder size column with percentage // Preview PDF // Win7 FAQ // Windows-8 FAQ // Take OneLuope and stretch the screen. // The PC is slow! Is it the CPU? // Default bold font //