Ms-Dos NET to WinXp

N/a / N/A
February 3, 2009 at 19:57:51
Specs: Windows XP, N/A
Hi all

I have succesfully used the configuration below for many years,
but have always had problems connecting to Win computers on the network.
No problems connecting with other Dos machines, and file transfer both ways.

I can browse the Dos machine from the laptop (Win XP), and do all the usual
stuff (copying , deleting etc), but the Dos machine doesnt recognise the
computer name / path that I am trying to "USE".

My need is to transfer reporting files to a Windows machine.
It will be to a specific directory that is fully shared.

To me it appears that I have a configuration wrong on the Dos machine,
Would appreciate any helpfull suggestions.
I run the SetNet.bat once on each new install.

OS = Ms-Dos (ex Win95) , I generally use FreeDos,
but need to have this working first.
PC = Industrial CPU board

device=c:\dos\emm386.exe ram

C:\NET\net initialize
C:\NET\net start
loadhigh C:\DOS\SHARE.EXE
C:\NET\net share /yes

C:\NET\Net share * /delete
C:\NET\Net use * /delete
C:\NET\Net share /yes
C:\NET\Net SHARE Master-C=C: /FULL 'drive name = Master-C
C:\NET\Net USE D: \\Laptop\acer

Error 53: "... cant find computer in Path statement.." or something like that.

Edit: I can Ping the Laptop with good response.
Is it possible to connect using an IP address instead of Path Name.?

See More: Ms-Dos NET to WinXp

Report •

February 4, 2009 at 07:07:33

is laptop the name of the computer and acer the share? If not this is wrong.

Report •

February 4, 2009 at 12:23:10
Hi all

Yes, Laptop is the name of the computer on the Network, and Acer is the shared C:

Additional information/
When I try IPConfig /all the message shows.
"No DHCP Data available"


Report •

February 4, 2009 at 13:29:39
then how can you ping? What are you using for your dhcp server?

are these machines virus and malware free?

put a pause after
C:\NET\Net SHARE Master-C=C: /FULL 'drive name = Master-C

to see if this is the line causing the error

This command C:\DOS\LABEL C:Master-C

should look like this
C:\DOS\LABEL C: Master-C

command is label [space] drive letter: [space]label name. You don't have a space between :
and master.

You also can't share a drive via its label.

This is very wrong. You share by share name. Just like you have \\laptop\acer you need the drive you want to map to already shared.

You can't do a net share to share something on another system.
net share syntax is sharename=drive:path

So if you are trying to share the local drive it would be
net share master-c c:\[space] /full to share the drive or
net share master-c c:\sharefolder[space] /full if you just want to share a folder.

Report •

Related Solutions

February 4, 2009 at 13:49:26
You may also wish to read this article.

IMHO your emm386.exe ram statement is incorrect.
It should be emm386.exe noems

This give you more umb room to do the following;
loadhigh C:\NET\
loadhigh C:\NET\
loadhigh C:\NET\tcptsr.exe
loadhigh C:\NET\tinyrfc.exe
loadhigh C:\NET\nmtsr.exe
loadhigh C:\NET\emsbfr.exe

this will free up conventional memory [640K base memory]

Since you establish the path at the beginning of the autoexec with set path=c:\dos;c:\net
you don't need to write the c:\dos or c:\net on any of the command lines after that. If you want to save yourself some typing.

Report •

February 4, 2009 at 14:56:28
Hi all
Many thanks for the replies, they are all appreciated.

Ping The alternate Configuration of the Laptop.
I have no idea about the DHCP server, does the Dos machine retrieve DHCP data from WinXp ?

Instead of Pause I have stepped through each entry in the Config.sys & Autoexec.bat file, and there are no errors.

Re:Label, both work.
RE:Share, the statement
Net Share Master-C=C: /Full results in
The command completed succesfully.
In the Dos to Dos machine, this syntax allows me to copy files both ways.
On the Laptop with XP, the drive shows up as Master-C on 'Master'(Z:)
Just to correct, I am not doing "a net share to share something on another system." all the bat files shown are run on the Dos machine.
The "NET Share Master-C=C: /Full is sharing the Dos local drive C: (Named Master-C).
The Syntax with or without '=' works.

The "USE D:" is Making D: on the Dos machine the same as \\Laptop\Acer.

Re: emm386.exe ram statement.
Changing that didnt make any difference but I agree as to the available memory, so I'll leave it as NoEms.It may have been there for a different application.


Net Share Master-C C: /Full
Error 2310 This shared resource does not exist.
So, the '=' is definitely needed.

Edit.2:There is an AddName utility, which has the format
AddName Laptop
Now I get:
Error 51: The specified computer is not receiving requests.

Report •

February 4, 2009 at 21:12:00
You can see from the syntax of the command

sharename=drive:path /USERS:number | /UNLIMITED]
[/CACHE:Manual | Documents| Programs | None ]
sharename [/USERS:number | /UNLIMITED]
[/CACHE:Manual | Documents | Programs | None]
{sharename | devicename | drive:path} /DELETE

that there are no equal signs. But I have see where = signs were ignored or viewed as spaces. But not generate the error you recieved.

That error is more of the command saying it thinks you are asking for accessing a share not making one.

I don't understand the point of labeling a drive and then making a share of the same name. This doesn't make sense. Label doesn't belong in a batch file.

according to here:

it says:
2310 This shared resource does not exist.NERR_NetNameNotFound

error 51 is an old one I know by heart. No network connectivity. Doesn't see who you are referring to.

Dos didn't know about ip so I would think it can't address a host by ip directly like you can now.

Even though I have shares and maps these commands don't work
C:\NET\Net share * /delete
C:\NET\Net use * /delete

Net share does work but
C:\NET\Net SHARE Master-C=C: /FULL 'drive name = Master-C

would not.

Sorry its late and I am tired. I will catch up with you tomorrow.

Report •

February 4, 2009 at 21:21:23
Hi all

Perhaps you are not aware that I am using
NET.exe 480kB 6/06/1994
a totally different animal then what most people are using today.

Remember, the whole system works looking from the WinXp end. Mapping a Network drive, browsing it, I just cant do anything from the Dos end.


Report •

February 5, 2009 at 08:36:45
I suspect your issue is with tcptsr.exe not getting a ip address. My understanding is tcptsr.exe looks for a dhcp server for an ip.

You need a dhcp server on your network. XP natively doesn't do dhcp.

It would if you engaged ICS or you loaded a third party app.

Report •

Ask Question