Sharing an MSDOS-based program on a home network

G

Guest

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?
 
G

GTS

Put a pause command at the end of the batch file so you be able to see the
error message.
 
G

Guest

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

GTS

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

--
 
G

Guest

Thanks very much GTS!
--
nudsddsms


GTS said:
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
 

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