Hey guys. So I have this script, that updates all the servers in the repository folder.
[code] @echo off
set DIR=%~dp0
set STEAM_LIST=%DIR%/games.txt
echo Starting ... %DIR%
for /F "tokens=*" %%i in (%STEAM_LIST%) do (
echo Game ... %%i
echo Path ... %DIR%\%%i\
if not exist "%DIR%\%%i\" (
echo Creating folder %DIR%\%%i\
mkdir "%DIR%\%%i\"
)
echo Updating ... %%i to %DIR%\%%i\ && %DIR%\HldsUpdateTool.exe -command update -game "%%i" -dir "%DIR%\%%i\"
)
pause
[/code]
[url]http://i.imgur.com/SMLCi.png[/url]
When I run it, I get an Access is denied error. if anyone could help me thanks.
Run as Admin?
[QUOTE=Sc00by22;33508472]Run as Admin?[/QUOTE]
Already did, same error.
Make sure there are no programs accessing that folder.
Sorry, you need to Log In to post a reply to this thread.