Batch files not working Tags: Configuration Command Prompt Shutdown Windows 7 Last response: November 12, 2009 5:38 AM in Windows 7 Share raptor1jec 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 r_manic a b $ Windows 7 November 12, 2009 5:38:51 AM have you tried "shutdown /l"? m 0 l Can't find your answer ? Ask ! Publish Related resources Batch Files Not Working Forum Batch File not working Forum Batch file to run prog and output to txt...not working Forum Batch file works for 1 thing, Not! for another..... Forum Batch file work differently on two different Windows XP in.. Forum Creating Batch Script to Move Files to other directory Forum Batch File to Copy Files From All Users Forum Running two batch files after one another? Forum Can't open batch files Forum SolvedBatch File creation Forum Batch Files commands Forum batch file will not copy needed files Forum Solvedbatch file to change GPO Forum Solvedhow to make a batch file that... Forum Solvedopen batch file in windows 8 Forum SolvedBatch file net use Forum Solvedcommand prompt is showing 'command' is not recognized as operable program or batch file. Forum Run a Batch File Against All Files in a Folder Forum Batch File - Match images to Files, delete images when no matching file. Forum SolvedBatch File to copy directory with if statements Forum More resources Read discussions in other Windows 7 categories Configuration Customization Drivers Security Laptops !