Re: Sharing an MSDOS-based program on a home network

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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


.



Relevant Pages

  • Re: Renaming multiple files???
    ... I vaguely remember, in DOS, that I could type: ... Can't use the DOS ren command unless the wildcard before and after is ... What I do is drop to command line window (a couple clicks with my ... Run the batch file and all the files will be renamed. ...
    (sci.electronics.design)
  • Re: Sharing an MSDOS-based program on a home network
    ... You need to customize a batch file for the ME machine to ... > for DOS purposes. ... >>> I tried copying the DOS program to a jump drive, ...
    (microsoft.public.windowsxp.network_web)
  • Re: Temp files
    ... So, a batch file would have to delete the content of the sub-directories first, and then the directories themselves. ... I am still looking for a clean-up tool for the temp sub-directory, or a setting in windows that performs the cleanup. ... Ah yes DR Dos, the non-Microsoft/non-IBM disk operating system alternative. ... Put a shortcut to the batch file in your Startup folder and it will clean your temp folder on startup. ...
    (microsoft.public.windowsxp.general)
  • Re: OT - Batch file : how to close it?
    ... in the old dos black window is boring ... I created a batch file ... it doesn't close the black dos window. ...
    (microsoft.public.vb.general.discussion)
  • Re: Batch Files Dont Stay Open
    ... I created a shortcut to the desktop and when I try to run a batch file the dos window opens then closes quickly. ...
    (microsoft.public.windowsxp.general)