Create a batch file called logoff.bat (name must be logoff.bat). In the batch file type "start logoff". Run it (Save your work, not because it will log you off though....). Don't understand why it does what it does??? 



South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
Sorry manWas in a rush and got as far as advising to save your work! But it is weird huh? If you type logoff from a command prompt, it just logs you off. If you change the batch name it also works??
not really a theory, this is how dos works, and command line is still leftover from dos with those old rules in place.
if you changed the batch file logoff.bat to read
start logoff.exe
then it would work as expected
There is no need to have the "start" in the beginning.
There is; I specifically wanted to spawn a new window....