rem wait 1 second
ping -n 1 127.0.0.1 > nul

rem start perwin with admin rights and parameter %1 (may be "/registration" for direct registration)
rem %~dp0 is the folder of this batch file = program folder
start "" "%~dp0PeriwinADMIN.exe" %1



