Hi all I've an idea: Create a something that makes your computer logging off and then puts it in standby mode.
In my situation this could be very convenient.
Currently to do that we have to do the following (win7): Start -> Click white arrow next to ShutDown button -> Click log off -> Wait to the main menu where all the accounts are displayed and click on the red arrow below right -> Finally click Standby.
I tried to do that creating two shortcuts on my desktop called LogOff and Sleep, and after creating a .bat file with this lines:
But as I supposed it executes only the first line, so this isn't the solution.
Thanks in advance
In my situation this could be very convenient.
Currently to do that we have to do the following (win7): Start -> Click white arrow next to ShutDown button -> Click log off -> Wait to the main menu where all the accounts are displayed and click on the red arrow below right -> Finally click Standby.
I tried to do that creating two shortcuts on my desktop called LogOff and Sleep, and after creating a .bat file with this lines:
Quote
rundll32 shell32.dll,ShellExec_RunDLL "C:\Users\YOURNAME\Desktop\Logoff.lnk"
rundll32 shell32.dll,ShellExec_RunDLL "C:\Users\YOURNAME\Desktop\Sleep.lnk"
But as I supposed it executes only the first line, so this isn't the solution.
Thanks in advance










)

