Tom's Hardware > Forum > Windows 7 > Configuration & Customize > Batch files not working
Word :    Username :           
 

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?

Sponsored Links
Register or log in to remove.

have you tried "shutdown /l"?

------------------------------ Desktop | E7300 | P5KPL-AM | 2GB DDR2 667MHz | NVIDIA 9500 GT | ST3320613AS | w2228h
XPS M1330 | T8300 | Dell 0U8042 | 2GB DDR2 800MHz | NVIDIA 8400M GS | WD2500BEVS-75US | 1280 x 800
Reply to r_manic
Tom's Hardware > Forum > Windows 7 > Configuration & Customize > Batch files not working
Go to:

There are 1165 identified and unidentified users. To see the list of identified users, Click here.

Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them