- Local time
- 1:29 AM
- Posts
- 231
- OS
- Windows 11 27965
im working around the 255 symbol limit MAX_PATH length when launching games from Steam using Properties < Launch Options. one way is to make a batch script and add the batch script directory path then %command% in the Steam game launch options.
github.com
although this works, the batch script command prompt window stays open after the game launches. is there a way to have the command prompt close it launches the game?
ive tried adding "exit" and "exit /b" to the batch script and it still stays open
also using the LongPathsEnabled reg key to remove the 255 symbol limit for MAX_PATH lengths wont effect the launch options in Steam
Code:
"C:\Users\:USERNAME:\Downloads\game-configs-main\Counter-Strike 2\CS2LaunchOptions.bat" %command%
game-configs/Counter-Strike 2/CS2LaunchOptions.bat at main · shoober420/game-configs
Video game configuration files. Contribute to shoober420/game-configs development by creating an account on GitHub.
although this works, the batch script command prompt window stays open after the game launches. is there a way to have the command prompt close it launches the game?
ive tried adding "exit" and "exit /b" to the batch script and it still stays open
also using the LongPathsEnabled reg key to remove the 255 symbol limit for MAX_PATH lengths wont effect the launch options in Steam
- Windows Build/Version
- Windows 11 27934
My Computer
System One
-
- OS
- Windows 11 27965
- Computer type
- PC/Desktop
- CPU
- Intel i7 7700 @4.0ghz
- Memory
- 64gb DDR4
- Graphics Card(s)
- Radeon RX 5500 XT
- Sound Card
- Topping D50s
- Hard Drives
- NVMe
- PSU
- Corsair
- Keyboard
- Stelseries G6v2
- Mouse
- Zowie EC2
- Other Info
- https://www.youtube.com/shoober420




