Re: Sharing an MSDOS-based program on a home network
- From: "GTS" <x>
- Date: Mon, 10 Oct 2005 10:29:48 -0400
The problem is clear now. When you run this batch file on the ME machine
the CD \OWARE and other commands will try to change to that directory on the
ME machines drive. You need to customize a batch file for the ME machine to
reference the proper network path. It's usually best to map a drive letter
for DOS purposes. Here's an example solution.
net use Q: /delete /y
net use Q: \\xppcnetname\c
Q:
CD \OWARE
BTSYS
QNELIB
QNE $JAS
QNELIB /U
BYSYS /U
C:
net use Q: /delete /y
CLS
--
"nudsddsms" <nudsddsms@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B507A32F-3E88-4222-859D-0C0D255A1668@xxxxxxxxxxxxxxxx
> The batch file on the XP machine reads:
>
> CD \OWARE
> BTSYS
> QNELIB
> QNE $JAS
> QNELIB /U
> BYSYS /U
> CD \
> CLS
>
> When I insert "PAUSE" as line 2, and then open the shortcut from the ME
> machine, a DOS window appears on the ME machine titled OWARE with:
>
> C:\WINDOWS>CD \OWARE
> Invalid directory
> C:\WINDOWS>PAUSE
> Press any key to contine...
>
> Pressing a key brings me to a C:\> prompt with the title of the window
> changing to Finshed - OWARE.
>
> Opening the edited batch file on the XP machine, a DOS window appears
> with:
> C:\Documents and Settings\Owner\My Documents\OWARE>CD \OWARE
> The system cannot find the path specified.
>
> C:\Documents and Settings\Owner\My Documents\OWARE>PAUSE
> Press any key to continue...
>
> Pressing a key then begins the program.
> --
> nudsddsms
>
>
> "nudsddsms" wrote:
>
>> I have 2 PC's connected directly by ethernet cable. Neither has an
>> Internet
>> connection. One runs XP home, the other runs ME. I was able to run a
>> successful networking wizard on XP, and as prompted, made a start-up
>> networking disc for the ME machine and successfully comleted the
>> networking
>> wizard on the ME machine. I can share the folders, files and printers on
>> the
>> XP machine through the ME machine. However, I cannot share a DOS based
>> program on the XP machine (which, is the main reason I chose to network
>> the
>> two machines).
>>
>> The start-up for the DOS program on the XP machine is a windows shortcut
>> to
>> a batch file that then starts the DOS program. I can see the shortcut in
>> a
>> shared folder on the ME machine, but when I click it I get a flash of a
>> DOS
>> window (black screen) with some instructions/error messages that
>> disappears
>> too quickly to read.
>>
>> I tried copying the DOS program to a jump drive, loading it on the ME
>> machine and looking for it from the XP machine, but the same result
>> occurred.
>> Any suggestions?
>> --
>> nudsddsms
.
- Follow-Ups:
- Re: Sharing an MSDOS-based program on a home network
- From: nudsddsms
- Re: Sharing an MSDOS-based program on a home network
- Prev by Date: Re: router vs switch
- Next by Date: Re: 3 workgroup PCs that can ping but unable to see PCs in workgro
- Previous by thread: Re: Sharing an MSDOS-based program on a home network
- Next by thread: Re: Sharing an MSDOS-based program on a home network
- Index(es):
Relevant Pages
|