View Single Post
  #15  
Old 03-18-2018, 01:32 PM
Willis Willis is offline
Registered User
 
Join Date: Apr 2007
Posts: 19
POST ID # = 945329
Willis Reputation: 10
Default

Quote:
Originally Posted by Willis View Post
users shouldn't need to make a custom batch file for every application they would wish to launch.
A slightly better workaround for anybody else with this issue, is to create a single batch file with the contents of

Quote:
@ECHO ON
start %1
END
and then assign the launch command as

Quote:
"c:\path-to-batch-file\launch.bat" powershell.exe
Then you only need to create one batch file. Unfortunately, you can't use environment variables such as %userprofile% for your path when doing this.
Reply With Quote