| Decided to go it alone and do my own bat files for the PUF of most of my games and personal folders so far its been somewhat working but i cant see why the bat files omits the SL_username when looking for the users folder here is the bat script am i doing something wrong ? the z: drive is a mapped drive with net use off my server i got the ideas from the other users on the forum btw very cool forum great source of info for new guy jumping into the gaming cafe world cheers ____________________________________________________________________________ @echo for /f "tokens=3 delims=\" %%i in ("%USERPROFILE%") do (set user=%%i)2>&1 for /f "skip=4 tokens=3" %%V in ('reg query HKCU\Environment /v SL_USERNAME') do set SL_USERNAME=%%V ECHO %SL_USERNAME% Z: cd Z:\%SL_USERNAME%\PUF mkdir crysisWARHEAD cd crysisWARHEAD c:
rd "C:\Users\Client9\Documents\My Games\Crysis_WARHEAD" /s /q CLS mkdir "C:\Users\Client9\Documents\My Games\Crysis_WARHEAD" echo Loading your Saved games and configs please wait echo . echo .
xcopy "z:\%SL_USERNAME%\PUF\crysisWARHEAD" "C:\Users\Client9\Documents\My Games\Crysis_WARHEAD"/e /y /c xcopy "Z:\Special files\warhead cfg\game.cfg" "C:\Users\client9\Documents\My Games\Crysis_WARHEAD" /e/y /c
cls
ECHO Loading your game please wait.....this might take sometime
cd\ cd C:\Games\Crysis WARHEAD\Bin32\ crysis.exe cls echo SAVING your games and configs please wait......... echo . echo . echo . ECHO %SL_USERNAME% pause xcopy "C:\Users\Client9\Documents\My Games\Crysis_WARHEAD" "Z:\%SL_USERNAME%\PUF\crysisWARHEAD" /e/y/c/d ECHO %SL_USERNAME% pause cd z@echo for /f "tokens=3 delims=\" %%i in ("%USERPROFILE%") do (set user=%%i)2>&1 for /f "skip=4 tokens=3" %%V in ('reg query HKCU\Environment /v SL_USERNAME') do set SL_USERNAME=%%V ECHO %SL_USERNAME% Z: cd Z:\%SL_USERNAME%\PUF mkdir crysisWARHEAD cd crysisWARHEAD c:
rd "C:\Users\Client9\Documents\My Games\Crysis_WARHEAD" /s /q CLS mkdir "C:\Users\Client9\Documents\My Games\Crysis_WARHEAD" echo Loading your Saved games and configs please wait echo . echo .
xcopy "z:\%SL_USERNAME%\PUF\crysisWARHEAD" "C:\Users\Client9\Documents\My Games\Crysis_WARHEAD"/e /y /c xcopy "Z:\Special files\warhead cfg\game.cfg" "C:\Users\client9\Documents\My Games\Crysis_WARHEAD" /e/y /c
cls
ECHO Loading your game please wait.....this might take sometime
cd\ cd C:\Games\Crysis WARHEAD\Bin32\ crysis.exe cls echo SAVING your games and configs please wait......... echo . echo . echo . ECHO %SL_USERNAME% pause xcopy "C:\Users\Client9\Documents\My Games\Crysis_WARHEAD" "Z:\%SL_USERNAME%\PUF\crysisWARHEAD" /e/y/c/d ECHO %SL_USERNAME% pause cd z:
I have learned to use the word 'impossible' with the greatest caution.
- Wernher von Braun
NETCORE.24 MONTREAL
QUEBEC, CANADA
ONLY FOR THE HARDCORE
|