Mapping with batch files

  • Thread starter Thread starter G
  • Start date Start date
G

G

Running a Netware 5 network using XP, 2K, and Win98 clients. The
organization has an old DOS based Professional File Systems database that
they cannot upgrade. Worked OK with 2K and Win98 but won't with XP. When
opening the database error message says can't find files. If you map to the
directory, the database will open but you have to map manually after every
boot up or log in. Looking for a work around or a batch file that will allow
users to map to that directory with a mouse click.
 
Sounds like there is no login scripts on Netware server :o) or they're never
performed on XP clients.
Mapping in Novell is quite easy: 'map N {resourcename}'.
 
Thanks for the response. The mapping is written into the user's login
script. When mapping manually, a message pops up reporting that the mapping
already exists and asking if I want to continue. If I continue mapping, the
program will run. If I do not continue, the program will not run. Whether I
map manually or not, the directory can be accessed through Windows Explorer.
 
You might be using the wrong command prompt, or the default environment size
of the command prompt window might be too small.
Solution: The default environment for 16-bit programs is too small to
accommodate the mapping table created by the map command. Designate the
32-bit command prompt (that is, Cmd.exe) as the permanent command
interpreter, and reset the default environment size allocated to the command
prompt window. An environment of 4,096 bytes is large enough to accommodate
the map command, the mapping table, and the command interpreter.
To make these changes to the environment, type the following line in
Config.nt:
shell=%systemroot%\system32\cmd.exe /e:4096
This line sets Cmd.exe as the command interpreter for the window as long as
it remains open or until you run another shell command. The line also
permanently allocates 4,096 bytes of environment space to 16-bit programs
you run in the window.
 
what end are you mapping the network drives.

If the client is windows based

use

net use x: \\server\share /y

this should map each drive and theoretically remap on each
boot. Or do that manually through explorer and click
reconnect at logon.
 

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

Back
Top