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"? Can't find your answer ? Ask ! Publish Related resources: ForumStop / Start Services Windows 7 with Batch Files ForumBatch file to run prog and output to txt...not working ForumCalling Batch files ForumTo run MS DOS batch files in win xp ForumHow to use Batch File to check CSV files encoded ForumBatch file renaming based on barcode ForumEnsure all commands in batch file are executed? ForumHow to run batch file without the DOS window poping up ForumBatch file to log in using static IP with u.name and password ForumBatch files in Win XP Pro ForumHow can I make a batch file that has different launch options? ForumHow to automate batch files when loading XP ForumWindows batch file : set output of program to a variable? ForumBatch file to mklink directory to multiple folders? Forum"Reboot and select Proper boot device" ForumShared printer not working properly Forum[Solved] Accessing files on an older hard drive after installing Windows 7 ForumTransfer files and parameters from Vista to 7 on same computer ForumBoot order not working ForumCopying and extracting files problem More resources Read discussions in other Windows 7 categories Configuration Customization Drivers Security Laptops !