Node Shortcut or BAT

I am tired of manually typing the path and run in the command prompt.

Here is what I need:

  1. Run Command Prompt
  2. cd c:\socket\nodejs
  3. Execute node test.js

How can I create a BAT or shortcut for this?

Just create a shortcut that creates a cmd window and with its working directory set to c:\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.