About 1,560,000 results
Open links in new tab
  1. How can I restore Cmd.exe (Command Prompt) if it doesn't exist?

    Mar 22, 2021 · 15 cmd.exe is not in the directory C:\Windows\System32. I think that I accidentally deleted it while messing with the environment variables, I don't know. It's not launching from …

  2. How does the Windows Command Interpreter (CMD.EXE) parse …

    Nov 4, 2010 · Each side of the pipe is processed independently and asynchronously. If command is internal to cmd.exe, or it is a batch file, or if it is a parenthesized command block, then it is …

  3. cmd.exe - Running .exe in command prompt - Super User

    Feb 12, 2015 · open a command prompt (Start -> Run -> cmd.exe), navigate to the location of your folder using the command prompt cd command, run the .exe from there

  4. Windows batch files: .bat vs .cmd? - Stack Overflow

    Sep 29, 2008 · A script that is designed for cmd.exe can be named .cmd to prevent accidental execution on Windows 9x. This filename extension also dates back to OS/2 version 1.0 and …

  5. How to automatically close cmd window after batch file execution?

    Feb 5, 2013 · This batch file is used to run the Xming application and then the PuTTY app so I can SSH into my university's computer lab. However, if I run this and Xming is not already …

  6. BAT file: Open new cmd window and execute a command in there

    Jun 3, 2020 · 166 Use the following in your batch file: start cmd.exe /c "more-batch-commands-here" or start cmd.exe /k "more-batch-commands-here" /c run command then close the …

  7. How do I find the location of an executable in Windows?

    According to the Stack Overflow answer at Is there an equivalent of 'which' on windows?, where.exe does this on Windows 7 and Windows Server 2003 and later: Example C:\> where …

  8. command line - How can I redirect Windows cmd standard output …

    15 Correct, file handle 1 for the process is STDOUT, redirected by the 1> or by > (1 can be omitted, by convention, the command interpreter [cmd.exe] knows to handle that). File handle …

  9. How do I display a text file content in CMD? - Stack Overflow

    Jun 20, 2013 · I want to display the content of a text file in a CMD window. In addition, I want to see the new lines that added to file, like tail -f command in Unix.

  10. Modify cmd.exe properties using the command prompt

    The /K switch tells CMD.exe to run the batch file (which sets some variables, the prompt, etc.) and then stay open. If you right-click on the shortcut and view its properties, you can set the …