:loop "C:\NWN Work\nwnsc.exe" -s -o -w -n "C:\Games\Steam\steamapps\common\Neverwinter Nights" -i "D:\NWN Repos\RATDOG\_content\ratdog_top";"D:\NWN Repos\PRC8\nwn\nwnprc\trunk\include" "D:\NWN Repos\RATDOG\_content\ratdog_top\*.nss" if %errorLevel% == -1 goto :loop NWN.CLI.exe -k cd ..