Sometimes I need to execute a command line script on my visual studio solutions. Here is how to set up an External Tool to start command prompt that localizes the directory to your project:
Tools > External Tools > Add
Command Field: cmd.exe
Initial Directory: $(SolutionDir)
Done.
Screens:
External Tools:
The Console/Terminal opened from the tools menu while having a project opened.



