Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Using Com port with a DOS program under win 2000 Pro

Using Com port with a DOS program under win 2000 Pro

Forum Windows 2000/NT : Windows 2000/NT General Discussion - Using Com port with a DOS program under win 2000 Pro

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.win2000.general (More info?)

 

L.S.

Is there a possibility to let a DOS programm use the COM1 port under Windows
2000 the PC is running on windows 2000 pro and connected to a Windows 2003
Server.
The program is old and not supported for windows 2000 and is used to program
an LED advertizing Board via the COM poort of the PC!

I know about the command line to get a shared printer working for the LPT
port in a windows network!

Can you use a command for the COM also????

Greatings Marcel Blankensteijn Katwijk Netherlands

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.win2000.general (More info?)

 

It depends entirely on the method the "DOS program" accesses the COM
port. If it attempts direct access, it will fail, if it acceses it thru
the operating system you have a good chance. Please see "MODE /?" at the
command prompt.

Marcel Blankensteijn wrote:

> L.S.
>
> Is there a possibility to let a DOS programm use the COM1 port under Windows
> 2000 the PC is running on windows 2000 pro and connected to a Windows 2003
> Server.
> The program is old and not supported for windows 2000 and is used to program
> an LED advertizing Board via the COM poort of the PC!
>
> I know about the command line to get a shared printer working for the LPT
> port in a windows network!
>
> Can you use a command for the COM also????
>
> Greatings Marcel Blankensteijn Katwijk Netherlands
>
>

Reply to Anonymous

Archived from groups: microsoft.public.win2000.general (More info?)

 

Its a 16 BIT DOS program that runs fine under DOS but i want it to run under
windows 2000 i think it directly , from the programm, access the COM1 port.

"Bob I" schreef:

> It depends entirely on the method the "DOS program" accesses the COM
> port. If it attempts direct access, it will fail, if it acceses it thru
> the operating system you have a good chance. Please see "MODE /?" at the
> command prompt.
>
> Marcel Blankensteijn wrote:
>
> > L.S.
> >
> > Is there a possibility to let a DOS programm use the COM1 port under Windows
> > 2000 the PC is running on windows 2000 pro and connected to a Windows 2003
> > Server.
> > The program is old and not supported for windows 2000 and is used to program
> > an LED advertizing Board via the COM poort of the PC!
> >
> > I know about the command line to get a shared printer working for the LPT
> > port in a windows network!
> >
> > Can you use a command for the COM also????
> >
> > Greatings Marcel Blankensteijn Katwijk Netherlands
> >
> >
>
>

Reply to Anonymous

Archived from groups: microsoft.public.win2000.general (More info?)

 

Then it will fail since direct access isn't allowed anymore.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Marcel Blankensteijn" wrote:
| Its a 16 BIT DOS program that runs fine under DOS but i want it to run
under
| windows 2000 i think it directly , from the programm, access the COM1
port.

Reply to Anonymous

Archived from groups: microsoft.public.win2000.general (More info?)

 

It is possible to use old DOS programs that communicate directly with
a serial port on a Windows 2000 or XP system. You just need to
configure the DOS session correctly.

Try the following:

Find your DOS program in the Windows Explorer and right click on it
and select "Create Shortcut" from the context menu that appears.

Right click on the new shortcut and select "Properties" from the
context menu.
Select the "Program" tab and click the "Advanced" button. In the
window that appears, check the option "Compatible timer hardware
emulation" and click OK.
Select the "Misc" tab and set the "Idle Sensitivity" to the lowest
setting and clear the "Always Suspend" option in the "Background"
section.

Close the window completely and then try running the shortcut and
testing to see if you can receive data correctly in your application
from the device that you have plugged into the COM port.

If the above settings do not work, open the Properties window for the
shortcut and select the "Compatibility" tab and set the Compatibility
Mode to the Windows 98 option.





On Thu, 21 Apr 2005 02:07:02 -0700, "Marcel Blankensteijn"
<MarcelBlankensteijn@discussions.microsoft.com> wrote:

>L.S.
>
>Is there a possibility to let a DOS programm use the COM1 port under Windows
>2000 the PC is running on windows 2000 pro and connected to a Windows 2003
>Server.
>The program is old and not supported for windows 2000 and is used to program
>an LED advertizing Board via the COM poort of the PC!
>
>I know about the command line to get a shared printer working for the LPT
>port in a windows network!
>
>Can you use a command for the COM also????
>
>Greatings Marcel Blankensteijn Katwijk Netherlands
>

Reply to Anonymous
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Using Com port with a DOS program under win 2000 Pro
Go to:

There are 950 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them