|
Answer» I would like to create a batch FILE that would LOG off the current user and shut down by itself once its completely logged off. I think it's possible but i don't know how. And no, simply shutting down the computer without logging off isn't what I'm looking for. Could someone present a command/s that will do this for me?Shutdown -l -t 01
That should do it. So i tried the command "START C:\windows\system32\Shutdown.exe -l -t 10" and launched it, but doesn't do anything... Am I doing something wrong?Try without the start command. Just use shutdown with the switches. it doesn't WORK either, by REMOVING the "Start" command. when i use this "Shutdown -l -t 10" it's CAUSING a cmd prompt to come up,showing that the command is being used infinitly... i have to close the window because its just repeating the same command... hmmmWhat? Can you post a screenshot because I can't picture what you are talking about. Sure, heres a screenshot
As you can see on the side scroll, its down pretty far, hence the repeating command.Did you only run shutdown -l -t 10 from the command prompt?in the *.bat file all that's in there is "Shutdown -l -t 10", when i run the *.bat file, it brings up what you see in the posted screenshotThis is what happens when i do the command in cmd, it doesn't log off or anything.
p.s = i appreciate your quick replies!!!
|