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.

Re: Running DOS program in WinXP by John

John
Mon Oct 01 05:24:42 CDT 2007

What is your question?

John

Robert Bodling wrote:
> 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.
>
>

Re: Running DOS program in WinXP by HimanshuDogra

HimanshuDogra
Mon Oct 01 09:02:01 CDT 2007

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


Re: Running DOS program in WinXP by Malke

Malke
Mon Oct 01 09:13:47 CDT 2007

Himanshu Dogra wrote:
> 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
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User

Re: Running DOS program in WinXP by Malke

Malke
Mon Oct 01 09:36:53 CDT 2007

William B. Lurie wrote:

> 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
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User

Re: Running DOS program in WinXP by William

William
Mon Oct 01 09:24:20 CDT 2007

Malke wrote:
> Himanshu Dogra wrote:
>> 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
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?

Re: Running DOS program in WinXP by John

John
Mon Oct 01 09:41:40 CDT 2007

Himanshu Dogra wrote:

> 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


Re: Running DOS program in WinXP by Robert

Robert
Mon Oct 01 17:03:12 CDT 2007

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...

"John John" <audetweld@nbnet.nb.ca> wrote in message
news:ujndIVBBIHA.2004@TK2MSFTNGP06.phx.gbl...
> What is your question?
>
> John
>
> Robert Bodling wrote:
>> 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.