About 816,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. 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 …

  3. 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 …

  4. 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.

  5. 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 …

  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 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 …

  8. How to do a simple file search in cmd - Stack Overflow

    I want to quickly search for a file given its name or part of its name, from the windows command line (not power shell). This is similar to opening explorer and using the search box at the top. N...

  9. How do I execute cmd commands through a batch file?

    16 start cmd /k "your cmd command1" start cmd /k "your cmd command2" It works in Windows server2012 while I use these command in one batch file.

  10. cmd - Error: "is not recognized as an internal or external command ...

    Whenever I try and run mycommand.exe from my Windows cmd.exe terminal, I get this error: ''mycommand.exe' is not recognized as an internal or external command, operable program or …