Answer» Hi everyone. Just a small question..
I have got a computer at my work that is used for browsing internet only via firefox. To STOP people playing with files and accessing other areas of the computer I have disabled the explorer via a batch file (taskkill /f /IM explorer.exe) that runs in startup. I have added an addon to firefox that has also limited users so all they can really do is browse, all other SETTINGS have been removed.
My question is, how to get the account to LOGOUT after the person closes the browser?
I have tried ways such as:
Code: [Select]start /wait "Firefox" ""C:\Program Files (x86)\Mozilla Firefox\firefox.exe"" SHUTDOWN /l But it seems to FAIL. Getting people that use the computer to press ctrl alt delete seems to complicated. Does anyone have any ideas?
Thanks in advance.Quote from: JorgBrunig on August 14, 2010, 11:46:33 PM ""C:\Program Files (x86)\Mozilla Firefox\firefox.exe""
The START command requires ONE set of quote marks before and after the program path and name. It fails with two like you have above.
Try this
Code: [Select]start /wait "Firefox" "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" shutdown /lThanks mate.
|