the code:
@echo on
IF EXIST C:\Documents and Settings\%username%\NetHood\Test (
goto end
) ELSE (
REGEDIT [ /s ] modifiedStartMenu.reg
mkdir C:\Documents and Settings\%username%\NetHood\Test
)
:end
pause
I know some things can be removed such as the pause but how can i get this to run for the specific user that is logged on??