How to run *.CMD files

5 pts.
Tags:
CMD
How do I run *.CMD files?

Answer Wiki

Thanks. We'll let you know when a new response is added.

In Windows Explorer double click on them, or from a dos prompt simply type the path and filename such as “C:\Path\To\Your\File.cmd” and press enter (or change directories to that file and type the filename and press enter).

Just type the command within the double quotes and then press the enter key on the keyboard.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Kbbagal
    Hello Mrdenny , I tried the solution sugguested by you but it giving me following error... and was unexpected at this time.
    10 pointsBadges:
    report
  • Subhendu Sen
    Have a look here: www.rickglos.com/post/How-to-run-cmd-files-from-Visual-Studio.aspx
    28,600 pointsBadges:
    report
  • carlosdl
    "...was unexpected at this time". That message indicates that the .cmd file was actually executed, but the script had syntax errors.
    69,510 pointsBadges:
    report
  • Denny Cherry
    Just type the command within the double quotes and then press the enter key on the keyboard.
    66,115 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following