While you cannot use project macros such as $(SolutionDir) or environment variables for βRun external program:β, you can use relative paths if the path relative to the solution directory solves your problem. I just tested VS2010 and the VB.NET WinForms project and installed "Run external program:" on:
..\..\..\windows\system32\cmd.exe
and then Ctrl+F5 launches the command line. Set the number of elements .. to the depth of your project folder.
Rick sladkey
source share