I am making an addon for the popular online game counter-strike source.
I need the %AppDirectory% to change based on the users installation. The game in installed in a directory based on the users account name.
It looks something like this:
C:\Program Files\Valve\Steam\SteamApps\blah@12345.com\counter-strike source
I need the %AppDirectory% to change and i need a script that will find this folder and set it to the %AppDirectory%.
I have been trying to get the examples here to work, but i have been unsuccessful.![]()
I would appreicate any help if possible.
Thanks in advance!![]()

