I can make a customized command prompt shortcut on my desktop to start in a particular directory and have some specified dimensions etc.
Now i have a script that sets some environment variables for the prompt and want to run it as soon as this shortcut is clicked.
How do i tell cmd or powershell to run this script in the current shell window and then show the shell ?
For
cmdchange the shortcut target toand set the environment variables in
your.cmd: