Sign in with
Sign up | Sign in
Your question

Batch files not working

Last response: in Windows 7
October 30, 2009 3:17:26 AM

I am trying to create a logoff.bat. When I run it in cmd it works just fine.

All it says is "shutdown -l".

For some reason, this shuts down my pc, instead of logging off, like it does in cmd prompt.

Any body know why?

More about : batch files working

a b $ Windows 7
November 12, 2009 5:38:51 AM

have you tried "shutdown /l"?