Set-ExecutionPolicy RemoteSignedPowershell script csgo_autoconfig.ps1:
New-Item "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\autoexec.cfg" Add-Content -path ` "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\autoexec.cfg" @" // Add config here "@When you run the script it creates autoexec.cfg and adds the specified config.
©2013-2023 All Rights Reserved.