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