:loop "C:\NWN Work\nwnsc.exe" -o -w -n "C:\Games\Steam\steamapps\common\Neverwinter Nights" -i "D:\NWN Repos\UW2_PRC\_haks\poa_exp_abilities";"D:\NWN Repos\PRC8\nwn\nwnprc\trunk\include" "D:\NWN Repos\UW2_PRC\_haks\poa_exp_abilities\*.nss" if %errorLevel% == -1 goto :loop :loop "C:\NWN Work\nwnsc.exe" -o -w -n "C:\Games\Steam\steamapps\common\Neverwinter Nights" -i "D:\NWN Repos\UW2_PRC\_haks\poa_exp_spells";"D:\NWN Repos\PRC8\nwn\nwnprc\trunk\include" "D:\NWN Repos\UW2_PRC\_haks\poa_exp_spells\*.nss" if %errorLevel% == -1 goto :loop pause