To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

WinDrivers Computer Tech Support Forums  

Go Back   WinDrivers Computer Tech Support Forums > Operating Systems > DOS

DOS Get support help for all versions of DOS.

Reply
 
Thread Tools Search this Thread Display Modes
Old December 4th, 2001, 02:01 PM   #1
Bwilsor
Guest
 
Posts: n/a
Post Command line Reset?

Does it exist? How can I do it or do I need a utility.
  Reply With Quote
Old December 4th, 2001, 02:47 PM   #2
confus-ed
Geezer
 
confus-ed's Avatar
 
Join Date: Jul 1999
Location: In front of my PC....
Posts: 13,091
Post

What do you want to reset?
confus-ed is offline   Reply With Quote
Old December 5th, 2001, 06:11 AM   #3
Gabriel
Registered User
 
Gabriel's Avatar
 
Join Date: Aug 2000
Location: Tel Aviv Israel
Posts: 2,159
Post

if i understan you correctly you want to do a reboot for your system...
try this (DOS):
create a text file called reboot.txt
insert this following 6 lines inside:

E 40:72 34 12
RCS
FFFF
RIP
0000
G

now save the file.
do (with no spaces):
debug < reboot.txt


if it will not work i will send you a compileed file which do the same.
WARNING - I havent tested it on NT based systems...
__________________
Real stupidity beats Artifical Intelligence
Avatar courtesy of A D E P T
Gabriel is offline   Reply With Quote
Old December 5th, 2001, 02:05 PM   #4
ShadowWynd
Registered User
 
Join Date: Sep 2000
Posts: 218
Post

at the dos Prompt type "echo HPS╦ > reboot.com"

That is an "H"+"P"+"S"+ALT+203 (on the keypad).
THen run reboot.com


Much easier to remember.
ShadowWynd is offline   Reply With Quote
Old December 6th, 2001, 11:48 AM   #5
Bwilsor
Guest
 
Posts: n/a
Wink

sorry guys I have not had success on either suggestion.
  Reply With Quote
Old December 6th, 2001, 02:17 PM   #6
Platypus
Intel Mod
 
Platypus's Avatar
 
Join Date: Jan 2001
Location: Australia
Posts: 5,471
Post

I've emailed you a zip of a little DOS utility called DO.EXE, which does several things, including a warm or cold reboot. Hope it helps.
__________________
Pleased to have been a Microsoft MVP (Windows Desktop Experience) 2007/8, 2008/9

I like honey, but apart from that I'm harmless.
Platypus is offline   Reply With Quote
Old December 7th, 2001, 07:15 AM   #7
ShadowWynd
Registered User
 
Join Date: Sep 2000
Posts: 218
Post

You have a dickens of a time restarting a computer from a DOS prompt in Windows.... Are you at a pure command prompt or in a DOS SHell?

If in windows dos box you type

rundll32.exe shell32.dll,SHExitWindowsEx 2
ShadowWynd is offline   Reply With Quote
Old December 7th, 2001, 08:53 AM   #8
Stalemate
Registered User
 
Join Date: May 2001
Location: d4-e5
Posts: 15,085
Post

[quote]Originally posted by ShadowWynd:
<strong>You have a dickens of a time restarting a computer from a DOS prompt in Windows.... Are you at a pure command prompt or in a DOS SHell?

If in windows dos box you type

rundll32.exe shell32.dll,SHExitWindowsEx 2</strong><hr></blockquote>

That's a beautiful thing to slap into a desktop shortcut also
__________________
Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. -Douglas Adams
Stalemate is offline   Reply With Quote
Old December 7th, 2001, 09:01 AM   #9
xt477
Registered User
 
Join Date: Dec 1999
Location: Columbus Ohio U.S.A.
Posts: 194
Post

Start DEBUG by typing the following at the MS-DOS command prompt:
debug

At the dash prompt, enter the following sequence of commands, each followed by pressing ENTER. (Comments are preceded by ";".)
A 100 ; Debug instruction for assemble
MOV AH,0D ; Disk Reset
INT 21h ; causes SmartDrv 4.x to write cache
MOV AX, 40 ; set up segment addressing
MOV DS, AX
DS:
OR BYTE PTR [17],0C ; equivalent of pressing CTRL+ALT
MOV AX,4F53 ; Issue a "DEL" (53h = DEL scan code)
INT 15h ; EMM386 sees this &amp; shuts down
DS:
MOV WORD PTR [72],1234 ; Set REBOOT flag to Warm-Boot (0=cold)
JMP F000:FFF0 ; Execute the internal restart routine
<CR> ; This line must be blank (just hit ENTER)
R CX
20 ; File size to be written to disk (in hex)
N REBOOT.COM ; Filename
W ; Write the file to disk
Q ; Quit Debug

NOTE: The REBOOT.COM file created with this debug script is compatible with SMARTDrive and its write-behind cache feature. The instructions in REBOOT.COM cause SMARTDrive to write (flush) its write-behind cache to disk before the computer is rebooted.

This procedure creates the file REBOOT.COM in the current directory. At this point, you can call the file in the same manner as any other executable file, either from the command line or within a batch file, and the system will reboot
__________________
"I may not like what you have to say, but I will defend to the death your right to say it" Voltaire.
xt477 is offline   Reply With Quote
Old December 19th, 2001, 10:11 AM   #10
zsh31689
Junior Member
 
Join Date: Oct 2001
Location: Texas, USA
Posts: 4
Red face

[quote]Originally posted by ShadowWynd:
<strong>at the dos Prompt type "echo HPS╦ > reboot.com"

That is an "H"+"P"+"S"+ALT+203 (on the keypad).
THen run reboot.com


Much easier to remember.</strong><hr></blockquote>

What does the "HPS&#9574" string represent?
zsh31689 is offline   Reply With Quote
Old December 19th, 2001, 10:39 AM   #11
Raven
Registered User
 
Raven's Avatar
 
Join Date: Nov 2000
Location: Indianapolis, IN - United States
Posts: 327
Post

i did what xt477 said and it worked great
__________________
Raven

Quote:
--------
"Dont whiz on the electric fence"
- Ren & Stimpy.
Raven is offline   Reply With Quote
Old December 19th, 2001, 06:18 PM   #12
Eagle PC Diagnostech
Registered User
 
Join Date: Jun 1999
Location: Las Vegas, Nevada
Posts: 1,109
Post

try here

<a href="http://www.simtel.net/pub/msdos/" target="_blank">http://www.simtel.net/pub/msdos/</a>
__________________
An obstacle is something you see when you take your eyes off your goal.
Eagle PC Diagnostech is offline   Reply With Quote
Old January 17th, 2002, 01:03 PM   #13
melee5
Guest
 
Posts: n/a
Post

B8 00 FE E7 63 EB FE

Put the above bytes into a Hex editor and save the
file as Reset.com. Watch out, its really fast!
Goes all the way back to POST beep and if done from a Windows DOS box is guarenteed to get you a
Scandisk session.
  Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:37 PM.



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.