Running DOS program in WinXP

R

Robert Bodling

I have a DOS .bat file I was running on Windows 95 to operate a device
connected to the printer port on a different system of mine and now that
system is down, I would like to run the .bat file on my main system that is
running WinXP.
 
G

Guest

Hello

Why dont you access the DOS in windows XP in the following way:

1). GO to start ---> run ----> type in " cmd " click on ok.

You will get the DOS command prompt. There is no need to run the DOS .bat
file in Win XP . Its an inbuilt feature in windows XP.

Regards
Himansu Dogra
MCSE
 
M

Malke

Himanshu said:
Hello

Why dont you access the DOS in windows XP in the following way:

1). GO to start ---> run ----> type in " cmd " click on ok.

You will get the DOS command prompt. There is no need to run the DOS .bat
file in Win XP . Its an inbuilt feature in windows XP.

Regards
Himansu Dogra
MCSE

You may have an MCSE but you don't know what you're talking about. There
is no true DOS in any NT-kernel-based operating system and there never
has been. The command prompt in XP is just that - a command prompt. You
can run some DOS programs in XP because there is a DOS emulator built in.

The OP's .bat file has to do with making some hardware work. It is
unlikely that any DOS program that needs control of hardware will work
in XP since software's direct control of hardware is forbidden in
NT-kernel-based operating systems.


Malke
 
W

William B. Lurie

Malke said:
You may have an MCSE but you don't know what you're talking about. There
is no true DOS in any NT-kernel-based operating system and there never
has been. The command prompt in XP is just that - a command prompt. You
can run some DOS programs in XP because there is a DOS emulator built in.

The OP's .bat file has to do with making some hardware work. It is
unlikely that any DOS program that needs control of hardware will work
in XP since software's direct control of hardware is forbidden in
NT-kernel-based operating systems.


Malke
Thanks for the cogent explanation, Mal. I "been there, done that" quite
a bit, and found it generally unsatisfactory to try to run *some* DOS
programs from the CMD prompt. Cleanest solution I found was to make
a Virtual PC under XP, and I installed my old Windows 98 there. Maybe
that's the solution for these folks?
 
M

Malke

William said:
Thanks for the cogent explanation, Mal. I "been there, done that" quite
a bit, and found it generally unsatisfactory to try to run *some* DOS
programs from the CMD prompt. Cleanest solution I found was to make
a Virtual PC under XP, and I installed my old Windows 98 there. Maybe
that's the solution for these folks?

Virtualization is unlikely to work in the OP's case. He's got some sort
of hardware dongle or connection to run a specialized device. The
hardware in a virtual machine is emulated and has nothing to do with the
actual hardware in the physical computer.

The OP should check with the hardware device's tech support for what to do.


Malke
 
J

John John

Himanshu said:
Hello

Why dont you access the DOS in windows XP in the following way:

1). GO to start ---> run ----> type in " cmd " click on ok.

You will get the DOS command prompt.

No you won't! It will get you to the native 32-bit NT (XP) Command
Processor. If the DOS application doesn't work properly you won't be
able to run it from Cmd.exe any more than by other means.


There is no need to run the DOS .bat
file in Win XP . Its an inbuilt feature in windows XP.

There is *no* inbuilt DOS as such in Windows XP. Any 16-bit programs
must be run inside the NT Virutal DOS Machine (NTVDM).

John
 
R

Robert Bodling

Well John, after reading the following responses... I found my answer...
even though it wasn't exactly what I wanted to hear... but it was helpful...
thanks to all who responded...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top