Batch files not working

raptor1jec

Distinguished
Oct 29, 2009
1
0
18,510
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?