I am tired of manually typing the path and run in the command prompt.
Here is what I need:
- Run Command Prompt
cd c:\socket\nodejs- Execute
node test.js
How can I create a BAT or shortcut for this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just create a shortcut that creates a
cmdwindow and with its working directory set toc:\socket\nodejs. Keep the window open during development. You can also copy the shortcut into your startup directory so the window will open when you log in.