BetaArchive Logo
Navigation Home Screenshots Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 2d, 3h, 19m | CPU: 30% | MEM: 4286MB of 10307MB used
{The community for beta collectors}

Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2  Next
Author Message
 PostPost subject: DOS Shutdown Command        Posted: Mon Mar 31, 2008 9:58 pm 
Reply with quote
FTP Access
User avatar
Offline

Joined
Mon Sep 03, 2007 2:47 am

Posts
606

Location
$HOME
Hey!
I wonder if there's any Shutdown command for DOS (not needing windows).
Thanks


Top  Profile
 PostPost subject:        Posted: Mon Mar 31, 2008 10:25 pm 
Reply with quote
Donator
User avatar
Offline

Joined
Thu Nov 29, 2007 11:33 pm

Posts
3899

Location
Where do you want to go today?

Favourite OS
All Microsoft operating systems!
No, there's no shutdown command for DOS.


Top  Profile  WWW
 PostPost subject:        Posted: Tue Apr 01, 2008 6:38 am 
Reply with quote
Yes there is, although not released on any floppy version that MS released.
Find yourself a copy of that dos 7.1 made by some Chinese guy,
wenger or whatever it was, it has the shutdown program for dos on it.
When typing shutdown, it asks if you want to shutdown or reboot.
Only works on systems with atx power supplies of course.


Top
 PostPost subject:        Posted: Tue Apr 01, 2008 9:35 am 
Reply with quote
Donator
User avatar
Offline

Joined
Sat Aug 19, 2006 12:19 am

Posts
1915

Location
New Zealand
in those days you just hit the off button


Top  Profile
 PostPost subject:        Posted: Tue Apr 01, 2008 2:49 pm 
Reply with quote
FTP Access
User avatar
Offline

Joined
Wed Oct 04, 2006 11:02 pm

Posts
514
___ wrote:
in those days you just hit the off button


After PARKing the hard drive (if you had one), of course. ;)


Top  Profile
 PostPost subject:        Posted: Tue Apr 01, 2008 10:03 pm 
Reply with quote
FTP Access
User avatar
Offline

Joined
Mon Sep 03, 2007 2:47 am

Posts
606

Location
$HOME
Dion wrote:
Yes there is, although not released on any floppy version that MS released.
Find yourself a copy of that dos 7.1 made by some Chinese guy,
wenger or whatever it was, it has the shutdown program for dos on it.
When typing shutdown, it asks if you want to shutdown or reboot.
Only works on systems with atx power supplies of course.

Do you have any more specific information?


Top  Profile
 PostPost subject:        Posted: Tue Apr 01, 2008 10:39 pm 
Reply with quote
Staff
User avatar
Offline

Joined
Wed Apr 11, 2007 2:11 pm

Posts
2607

Location
Germany, Earth

Favourite OS
Windows 10
Chicago wrote:
Dion wrote:
Yes there is, although not released on any floppy version that MS released.
Find yourself a copy of that dos 7.1 made by some Chinese guy,
wenger or whatever it was, it has the shutdown program for dos on it.
When typing shutdown, it asks if you want to shutdown or reboot.
Only works on systems with atx power supplies of course.

Do you have any more specific information?


Here ya go. Thats exactly the same app used in this DOS version.

_________________
MS vNext: Windows 10 ESD Database - Windows 10 Build Labs - Windows 10 Update Archive - Office 2016 Version Tracker - Office Downloader


Top  Profile  WWW
 PostPost subject:        Posted: Tue Apr 01, 2008 10:48 pm 
Reply with quote
FTP Access
User avatar
Offline

Joined
Mon Sep 03, 2007 2:47 am

Posts
606

Location
$HOME
Great!
Thanks!!
Now, when you end your Windows 1.00 session it automatically shuts down! :)


Top  Profile
 PostPost subject:        Posted: Fri Sep 05, 2008 11:16 pm 
Reply with quote
FTP Access
Offline

Joined
Fri Sep 05, 2008 9:55 pm

Posts
15
Alternative: http://www.ibiblio.org/pub/micro/pc-stu ... dos/fdapm/

Has more functions, example standby.


Top  Profile
 PostPost subject:        Posted: Sat Sep 06, 2008 12:13 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Mon Sep 03, 2007 2:47 am

Posts
606

Location
$HOME
Thanks!
Nice app. Yet, I'll stick with my old one because I'm used to it. It's very neat and simple!
Thanks for this one. Already implemented on another PC of mine!


Top  Profile
 PostPost subject:        Posted: Sat Sep 06, 2008 1:01 pm 
Reply with quote
Donator
User avatar
Offline

Joined
Sun Dec 30, 2007 8:12 am

Posts
1119

Location
Brisbane, Queensland

Favourite OS
OS/2 Wrp 3.0
Also, there's SHUT12.ZIP, which also reboots.


Top  Profile  WWW
 PostPost subject:        Posted: Sun Sep 07, 2008 12:43 am 
Reply with quote
Donator
User avatar
Offline

Joined
Fri May 18, 2007 9:39 am

Posts
953

Location
My house
___ wrote:
in those days you just hit the off button

And pressed Ctrl+Alt+Del to reboot.

_________________
Image


Top  Profile
 PostPost subject: Re:        Posted: Fri May 01, 2015 12:37 am 
Reply with quote
Offline

Joined
Sat Jan 25, 2014 5:43 am

Posts
17
moonlit wrote:
___ wrote:
in those days you just hit the off button


After PARKing the hard drive (if you had one), of course. ;)


Yes, exactly.

When running DOS and using a hard disk, it was certainly best to park the hard disk before turning off the power. Parking moved the drive read/write heads so that they were at the edge of the disk platters so that when you powered off the machine, the heads wouldn't clunk down onto an area of the hard disk that contained your data, and when you powered on again the drive wouldn't drag the heads across an important area of the disk. A DOS command "parkhd" was used to do this.

Other commands might also be run on shutdown. For example, if you were running TSR (Terminate and Stay Resident) software, such as good old Side Kick, then you might run a command to save data and exit. (Side Kick had a calendar, text editor, calculator, ASCII chart, address book, phone dialer, and more).

I also recall that I ran disk caching software, so at shut-down, I also ran a command to flush (write) all "delayed write" data to disk so that everything was saved properly.

And, I usually ran a backup command or 2 as well at shut down, to ZIP (or ARC) up and compress my data and copy this to a directory on the hard disk and perhaps also to a floppy.

So, what many people did back then was to create a little DOS batch file, mine was called "SD.bat" (short for shutdown), and put all of the commands in it that we wanted to run before powering off, with parkhd being the last command in the batch.


Top  Profile
 PostPost subject: Re: Re:        Posted: Fri May 01, 2015 2:46 pm 
Reply with quote
FTP Access
Offline

Joined
Thu Mar 27, 2014 12:23 pm

Posts
124

Favourite OS
NT 3.51
Mooses_Valley wrote:
Yes, exactly.

When running DOS and using a hard disk, it was certainly best to park the hard disk before turning off the power. Parking moved the drive read/write heads so that they were at the edge of the disk platters so that when you powered off the machine, the heads wouldn't clunk down onto an area of the hard disk that contained your data, and when you powered on again the drive wouldn't drag the heads across an important area of the disk.


That's all correct, but it's nothing specific to DOS, that's just how hard drives work. The only thing that's changed is that "modern" (as in made in the last 25 years, parking was a very short-lived thing) hard drives automatically park themselves when powered off. It was only the very earliest (1980s) hard drives that needed to be manually parked. Non-DOS systems also sometimes needed parking utilities (although the higher-quality SCSI drives used in Macintoshes and workstations at the time were almost always self-parking as were external drives with their own power supplies).

Even then, powering of a PC without parking won't immediately damage the disk (or every DOS user would have destroyed their system the first time they experienced a software lockup). There was only a risk of the heads hitting the platter surface if there is mechanical shock to the drive. Thus, parking was usually recommended and essential for portables, but not strictly necessary every time the system was powered off.

This 1987 hard drive manual demonstrates that some vendors only recommended parking when the system was to be moved. On drives that weren't intended to be parked regularly, doing so could cause the drive to wear out more quickly, and on some systems (such as IBM XTs) parking was itself a risky operation that could corrupt the disk if done without care.

Mooses_Valley wrote:
A DOS command "parkhd" was used to do this.


There was no standard DOS command to park a hard drive. A utility to do it would have been provided by the OEM (or hard drive vendor if bought aftermarket). Common names include "PARK" and "SHIPDISK" (used by IBM and others, presumably to highlight that it wasn't intended as an every-day utility) "PARKHD" may have been used by some vendors, but the only online references I can find refer to parking utilities for the Atari ST, not DOS systems.


Top  Profile
 PostPost subject: Re: DOS Shutdown Command        Posted: Sat May 02, 2015 9:08 am 
Reply with quote
Donator
User avatar
Offline

Joined
Sun Dec 30, 2007 8:12 am

Posts
1119

Location
Brisbane, Queensland

Favourite OS
OS/2 Wrp 3.0
Another reason for running a shutdown command was that smartdrv 4.0 and 4.1 were buggy, and showed the prompt before the cache was flushed. This is why 4.2 was released. But that was put in a wrapper that incorrectly required DOS 6.

Parking the fixed disk is a DOS 3-4 era thing. By the time DOS 5 hit the market, it was pretty unfashionable to do this.

Still, if you are used to shutting down modern OS's, a 'shutdown' command in DOS does not hurt.


Top  Profile  WWW
 PostPost subject: Re: DOS Shutdown Command        Posted: Mon May 04, 2015 7:20 am 
Reply with quote
FTP Access
Offline

Joined
Fri Oct 08, 2010 6:06 am

Posts
240

Favourite OS
Windows 2000 2195
There's a 40-byte program called ATXOFF which will turn off your PC under DOS - it requires an ATX PSU, however!

http://home.arcor.de/g.s/dostools.htm


Top  Profile
 PostPost subject: Re: DOS Shutdown Command        Posted: Thu Aug 13, 2015 9:07 am 
Reply with quote
Offline

Joined
Mon Sep 01, 2014 4:59 am

Posts
12

Favourite OS
They All Suck
Only with ATX power supply can one performs shutdown from software.

Reminds me of my first mainboard ASUS TX-97 which is compatible to AT and ATX power supply


Top  Profile
 PostPost subject: Re: DOS Shutdown Command        Posted: Tue Aug 18, 2015 12:41 pm 
Reply with quote
FTP Access
User avatar
Offline

Joined
Tue Aug 28, 2012 8:23 pm

Posts
209

Favourite OS
MS-DOS & Win 3.x
Or you can hold down the power button for 5 seconds and the computer with ATX power supply is switched off ;-)

_________________
I'm looking for PC abandonware software, applications, OS, CAD, word processing, spreadsheets, programming, educational software, databases, sound or graphics editors, file managers, etc. If you have some old software or collection please share it.


Top  Profile
 PostPost subject: Re: DOS Shutdown Command        Posted: Tue Sep 01, 2015 6:01 pm 
Reply with quote
FTP Access
User avatar
Offline

Joined
Tue Apr 08, 2014 12:04 am

Posts
3

Favourite OS
Windows 7 version 7601
In FreeDOS there is a utility called FDAPM that sends proper signals to park the HDD heads and then APM to cleanly power off the system is applicable. If you get a copy from FreeDOS and then transfer it to your DOS install it should work.


Top  Profile
 PostPost subject: Re: DOS Shutdown Command        Posted: Fri Sep 04, 2015 7:49 am 
Reply with quote
Offline

Joined
Thu Sep 03, 2015 7:43 pm

Posts
7

Location
Preston, Lancashire, UK

Favourite OS
Longhorn 4074/Neptune 5111
Shutdown is only there to close the GUI, and recompile it. In the days of NT 3.x-5.0, and even in the Whistler beta stages, you would get a message saying that it was safe to turn off your computer; and DOS just timed out if nothing was running.


Top  Profile
 PostPost subject: Re: DOS Shutdown Command        Posted: Tue Oct 27, 2015 1:06 am 
Reply with quote
Offline

Joined
Sun Oct 25, 2015 2:55 am

Posts
82
what remember from the nimbus days you typed Exit, that used to close MS DOS and go back to their bit start up screans.


Top  Profile
 PostPost subject: Re: DOS Shutdown Command        Posted: Thu Oct 29, 2015 1:50 pm 
Reply with quote
FTP Access
User avatar
Offline

Joined
Wed Oct 21, 2015 12:08 pm

Posts
396

Location
Planet Earth

Favourite OS
OpenNT
That ,,Its now safe to turn off your computer shows only if your computer is not acpi. Or if you're using old at power supply

_________________
Image


Top  Profile
 PostPost subject: Re: DOS Shutdown Command        Posted: Sun Nov 01, 2015 2:26 pm 
Reply with quote
Donator
Offline

Joined
Sat Oct 03, 2015 8:56 pm

Posts
27

Favourite OS
Ubuntu
Chicago wrote:
Hey!
I wonder if there's any Shutdown command for DOS (not needing windows).
Thanks

Exit.


Top  Profile
 PostPost subject: Re: DOS Shutdown Command        Posted: Sun Nov 01, 2015 7:12 pm 
Reply with quote
Donator
Offline

Joined
Sun Sep 27, 2009 7:55 pm

Posts
1440
I love how you all repeat the same things said ad infinitum. "Yes, there is a utility, go get SHUT12.ZIP", ...except the URL was posted three posts earlier.

and 1980s? Surely not... The first consumer hardware sure, but "hard disks" as we know them, date back to the Mid-50s

https://en.wikipedia.org/wiki/History_o ... es#IBM_350

_________________
~


Top  Profile
 PostPost subject: Re: DOS Shutdown Command        Posted: Tue Nov 10, 2015 5:06 pm 
Reply with quote
Temporarily Banned
User avatar
Offline

Joined
Thu Nov 05, 2015 4:20 pm

Posts
27

Location
Canada

Favourite OS
OH WINDOWS 98 IS SO COOL
There is a shutdown command for FreeDOS

_________________
http://computersetc.boards.net/ OH WINDOWS 98 IS SO COOL OH WINDOWS 98 IS SO COOL OH WINDOWS 98 IS SO COOL OH WINDOWS 98 IS SO COOL OH WINDOWS 98 IS SO COOL


Top  Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2  Next




Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2018

 

Sitemap | XML | RSS