Searching \ for '[OT] DOS shutdown command ?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=dos+shutdown+command
Search entire site for: 'DOS shutdown command ?'.

Exact match. Not showing close matches.
PICList Thread
'[OT] DOS shutdown command ?'
2005\09\28@102928 by alan smith

picon face
I was asked....while running under DOS command mode ....is there a way to actually shut down the computer?  In windows of course, you command it to shut down so there is a bios interface going on, but wonder if it can happen using a batch script or something while in DOS.  I think this isnt just a command window, but actually booting into DOS rather than windows.

               
---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.

2005\09\28@103811 by Michael Rigby-Jones

picon face


>-----Original Message-----
>From: spam_OUTpiclist-bouncesTakeThisOuTspammit.edu [.....piclist-bouncesKILLspamspam@spam@mit.edu]
>Sent: 28 September 2005 15:29
>To: Microcontroller discussion list - Public.
>Subject: [OT] DOS shutdown command ?
>
>
>I was asked....while running under DOS command mode ....is
>there a way to actually shut down the computer?  In windows of
>course, you command it to shut down so there is a bios
>interface going on, but wonder if it can happen using a batch
>script or something while in DOS.  I think this isnt just a
>command window, but actually booting into DOS rather than windows.

So Windows 95/98 then?  You could try reset.com from http://www.robvanderwoude.com/index.html

Regards

Mike

=======================================================================
This e-mail is intended for the person it is addressed to only. The
information contained in it may be confidential and/or protected by
law. If you are not the intended recipient of this message, you must
not make any use of this information, or copy or show it to any
person. Please contact us immediately to tell us that you have
received this e-mail, and return the original to us. Any use,
forwarding, printing or copying of this message is strictly prohibited.
No part of this message can be considered a request for goods or
services.
=======================================================================

2005\09\28@105604 by Buehler, Martin

picon face
just stumbled over something like that this morning...
look at:

http://www.gknw.com/atxoff.html

************************************************************************
******************************


>{Original Message removed}

2005\09\28@123819 by olin piclist

face picon face
alan smith wrote:
> I was asked....while running under DOS command mode ....is there a way
> to actually shut down the computer?  In windows of course, you command
> it to shut down so there is a bios interface going on, but wonder if it
> can happen using a batch script or somethi

You can write a program to do that.  I have one that reboots the machine but
never wanted one to just shut it down.


*****************************************************************
Embed Inc, embedded system specialists in Littleton Massachusetts
(978) 742-9014, http://www.embedinc.com

2005\09\28@124312 by Dave Lag

picon face
shutdown?

http://www.computerhope.com/shutdown.htm#03

alan smith wrote:
> I was asked....while running under DOS command mode ....is there a way to actually shut down the computer?  In windows of course, you command it to shut down so there is a bios interface going on, but wonder if it can happen using a batch script or something while in DOS.  I think this isnt just a command window, but actually booting into DOS rather than windows.
>
>                
> ---------------------------------
> Yahoo! for Good
>  Click here to donate to the Hurricane Katrina relief effort.

2005\09\28@132509 by Bob Ammerman

picon face
This can probably be done with a power management BIOS command of some sort.
It would then involve a tiny application to do it.

You might try "ralph brown's interrupt list". I don't know if it has been
updated for the newer BIOS interrupts/features. (The latest version I could
find was version 60, dated 3 Jan 99 at:

http://www.faqs.org/faqs/assembly-language/x86/general/part1/section-11.html

If you can find the correct BIOS call to be used I'd be glad to cobble up
the tiny DOS app to call it for you.

You could also look at http://www.acpi.info for the advanced configuration and
power interface bios calls.

Bob Ammerman
RAm Systems

2005\09\28@212234 by William Couture

face picon face
On 9/28/05, alan smith <micro_eng2spamKILLspamyahoo.com> wrote:

>I was asked....while running under DOS command mode ....is
>there a way to actually shut down the computer?  In windows of
>course, you command it to shut down so there is a bios interface
>going on, but wonder if it can happen using a batch script or
>something while in DOS.  I think this isnt just a command
>window, but actually booting into DOS rather than windows.

If this is actually DOS, not just a command window, then there
is no need for a shutdown command.   If the computer is not
actively accessing the drive, you can shut it off at any time
(modulo SMARTDRV write buffering).

Interrupt 18 is "goto ROM BASIC" on the original IBM-PC,
and is often "BOOT SYSTEM" on clones.

So, build yourself a little program via DEBUG:
a
int 18
 { press Enter on a blank line }
r bx
0
r cx
2
n rebootit.com
w
q

Then, to shutdown the system at any time, use the two
commands (you can put them in a .BAT file for convenience):
  smartdrv -r
  rebootit

Bill

--
Psst...  Hey, you... Buddy...  Want a kitten?  straycatblues.petfinder.org

More... (looser matching)
- Last day of these posts
- In 2005 , 2006 only
- Today
- New search...