I'm terribly new to scripting on windows. Using windows 7 64.
I'm trying to make a .bat file that I can double click, and have it open a command prompt and automatically cd
me to a certain directory.
I tried making a .bat file with
@ECHO OFF
cmd "cd C:mydestination"
Which opens what looks like a command prompt, but doesn't seem to let me type any commands.
I then tried:
@ECHO OFF
start cmd "cd C:mydestination"
But this just sent me into a loop opening tons and tons of prompts until my computer crashed :) The .bat file was located in the destination directory if that matters.
question from:https://stackoverflow.com/questions/4717352/open-command-prompt-window-and-change-current-working-directory