Re: Shutdown system after 3 minutes Hardware and Software Linux and Unix by Dani `shutdown -P +3` should work. -P means power off. You can alternatively use -r to reboot. You can use +3 to shutdown in 3 minutes, or "now" to happen right now. Re: Shutdown Programming Software Development by Jx_Man See if this help : [CODE]Shell("shutdown -s") 'Shutdown[/CODE] Re: Shutdown Programming Software Development by EkoX [QUOTE=Jx_Man;1763299]See if this help : [CODE]Shell("shutdown -s") 'Shutdown[/CODE][/QUOTE] Thats worked perfectly sir... Thank you.. shutdown Hardware and Software Microsoft Windows by mccabe57 I reformatted my pc and now it won't shutdown by itself. I cant find the APM can anyone help?:rolleyes: Re: shutdown Hardware and Software Microsoft Windows by fanatic1 …;258120]I reformatted my pc and now it won't shutdown by itself. I cant find the APM can anyone help… Shutdown Programming Software Development by dnk Hi masters.. how can i shutdown computer using api files in vb6? best regards.. Gbu Re: Shutdown Programming Software Development by Jx_Man try this following codes : [CODE]' Shutdown Private Const EWX_LogOff As Long = 0 Private Const EWX_SHUTDOWN As … SHUTDOWN Programming Software Development by sergent I am making a game bot which does certain function for a certain ammount of time. I want to give the user an option to shutdown when it all ends. What functions are out there to do that? Can I do it with <windows.h>? Shutdown Programming Software Development by EkoX How i can shutdown computer programmaticaly with vb? Re: shutdown pc from dos prompt Hardware and Software Microsoft Windows by Lightninghawk …reach a DOS Prompt you type: [color=red]shutdown -s[/color] [to shutdown] [color=red]shutdown -r[/color] [to restart] Now how …you type the following into the command line: [color=red]shutdown -r -c "[/color][color=blue]Your computer is …other switches as well. Say you don't want to shutdown or restart, you just want to logoff. type this … shutdown pc from dos prompt Hardware and Software Microsoft Windows by nanosani you can shut down your pc from dos prompt like this : type .... shutdown -s ( it'll give you 30 secs to save your work and then it'll shutdown) for restart type shutdown -r and for logoff type shutdown -l for more options type shutdown only. I tested these only on win xp ... Re: shutdown.exe (Question) Programming Software Development by j4nu5 …cannot be used with -m option) -s Shutdown the computer -r Shutdown and restart the computer -a Abort a system… earlier, I typed: ProcessStartInfo startInfo = new ProcessStartInfo("shutdown.exe", "-m \\COMPUTERNAME"); upon clicking … shutdown of pc with a .bat file Hardware and Software Microsoft Windows by bibiki … an answer. i have two short batch files: 1. shutdown - s - c "my message" - t… my pc but it set the time before shutdown to 30 seconds. ok, i guess there …i start the file, the usual little System Shutdown window appears telling me that the system is … of things. i am trying to build a shutdown prank to mess with my family - I hope… Re: shutdown of pc with a .bat file Hardware and Software Microsoft Windows by gbarnas … you get a "not found" error, then the shutdown command is not installed or not available via the PATH…. Search for shutdown.exe and use the full path in your batch file…;shutting down now!" /t 20). In earlier system releases, shutdown was a resource-kit component and not installed by default… Re: shutdown.exe (Question) Programming Software Development by plazmo …cannot be used with -m option) -s Shutdown the computer -r Shutdown and restart the computer -a Abort a system…p]:xx:yy The reason code for the shutdown u is the user code p is a planned… Re: shutdown of pc with a .bat file Hardware and Software Microsoft Windows by bibiki …spaces, the code worked. But, hovering over the little System Shutdown window made the countdown stop. otherwise, I took the code… but took it from different people. @Glenn: I did the shutdown/? in cmd. I got the usage info. that means the…, a few years ago, I would have this system shutdown message appear around 20 minutes after each time I'd… Re: shutdown pc from dos prompt Hardware and Software Microsoft Windows by nanosani [QUOTE=cscgal]Ahh ... the shutdown -r command ;) I use that command in linux hehe :)[/QUOTE] It's been a long time when I used linux but what I remember is that I used to shutdown linux with halt command ... is it still used or shutdown is the new command .... I've used Red Hat Linux 4 I think. Re: shutdown pc from dos prompt Hardware and Software Microsoft Windows by tayspen Hi a batch file is a file used to execute commands. To use a batch file open up a text documents and put [code] shutdown -s [/code] Then save it as shutdown.bat, when you want to shutdown double click it. More can be read here. [url]http://www.experts-exchange.com/Miscellaneous/Q_21257745.html[/url] -T Shutdown.exe Programming Software Development by SI THU hi! anybody help me please, i write shutdown code,it ok but when i convert exe file shutdown code is not work. my shutdown code is [CODE] shell "shutdown -s -t 30"[/CODE] please help me thanks Re: shutdown of pc with a .bat file Hardware and Software Microsoft Windows by gerbil … command you will see the default time that you mention... shutdown -i By spaces I meant that they should be between…. Perhaps a hack to lessen the irritation of an unplanned shutdown? [maybe your virus that caper mentioned had a friendly side… Re: shutdown pc from dos prompt Hardware and Software Microsoft Windows by Dani Ahh ... the shutdown -r command ;) I use that command in linux hehe :) shutdown or powerdown issue for medion PC Hardware and Software Microsoft Windows by lerch … sisters computer for her and have come up against a shutdown or powerdown (whatever it's called) issue. Everytime I try… to shutdown everthing seems to go okay to begin with, ie it… on the web it tells me how to cure the shutdown hanging issue for the Advanced Power Management but nothing (as… Re: shutdown pc from dos prompt Hardware and Software Microsoft Windows by UNE i have tried to use those commands in Win2000 OS but it didnt work it displaied this: [font='Times New Roman'] [font='Times New Roman'] [/font][/font] "[font='Times New Roman']Cannot find the file “shutdown Re: shutdown pc from dos prompt Hardware and Software Microsoft Windows by seatsd To shutdown 2000 from the command lline I think you can use: rundll.exe user.exe,exitwindows Well, I know it worked back in Windows 95 anyways. Re: shutdown pc from dos prompt Hardware and Software Microsoft Windows by Lightninghawk Actually.. I have a folder on my desktop that has files that I use to shutdown, restart, and logoff.. I am still looking for the switch in DOS for the Switch User command... still looking.... google is my friend but it's not being cooperative...... if anybody else finds that command please post here :) Re: Shutdown -i command Hardware and Software Microsoft Windows by kc0arf … box as if you were to do a Start --> Shutdown sequence. If you were accessing a remote machine, how would… click the user interface mouse button? You want shutdown -m \\ computername, such as shutdown -m \\crashbox -r -t 03 which will reboot… Re: shutdown pc from dos prompt Hardware and Software Microsoft Windows by mydadisadentist I saw this thread today and i thought id make a console program in c++ using : system("shutdown -s") It works quite well and is alot easier cus of the .exe file also ive been looking for a way to switch user but no luck so far. whats the point though when you can just use windows logo + L Re: shutdown pc from dos prompt Hardware and Software Microsoft Windows by mydadisadentist ow k cheers i get it now neway now my program includes a varible for how long til shutdown\restart and all the options in 1 .exe could you do that in a batch file? Re: shutdown message problem Hardware and Software Microsoft Windows by winker … down in 49:59[/B]. I have to type "shutdown -a" to get rid of it, but i've… command prompt which ended in errors showing "A system shutdown is in progress.". I went to the registry and… suggest me something?[/QUOTE] It has something to do with shutdown.exe of windows. It is place at start up you… Re: shutdown of pc with a .bat file Hardware and Software Microsoft Windows by caperjack … lastly, a few years ago, I would have this system shutdown message appear around 20 minutes after each time I'd…