New
#1
Question for CMD experts
I know there are many individuals here skilled with CMD and shortcuts so here is my question...
I have a shortcut on my desktop which is a shortcut to Visual Studio compiler configuration which when opened loads development environment into the console that it opens.
Right click -> properties on that shortcut says this:
Target:
Path:Code:%comspec% /k "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
When the shortcut is opened it runs the command from "Target" entry and opens command line specified in "Path" entry.Code:C:\path\to\my projects
Once it's opened I run the following command in the console:
This open VSCode in the specified "Path" and picks up set evironment specified by "Target".Code:code .
What I want to achieve is to modify either "Target" or "Path" property so that when I run the shortcut it will automatically open VSCode in the specified "Path" once the "Target" has been executed.
Is that possible and how would I modify this shortcut?