My batch file:
whic I have saved to the guest Startup folder, runs when Guest logs on, then prompts to enter the Guest password. I don't want to be prompted. I just want it to close the Photo viewer. What am I doing wrong?
Code:
set file=C:\Publication1.png
start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %file%
timeout 25
taskkill /F /im Rundll32.exe
timeout 30
%SystemRoot%\explorer.exe "C:\Boo"
exit
whic I have saved to the guest Startup folder, runs when Guest logs on, then prompts to enter the Guest password. I don't want to be prompted. I just want it to close the Photo viewer. What am I doing wrong?