Computing.Net > Forums > Disk Operating System > Change directory and UNC path

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Change directory and UNC path

Reply to Message Icon

Name: Karim Aguenaou
Date: June 1, 1999 at 01:48:29 Pacific
Comment:

Hello,

It seems that is not possible to use a UNC
path with the change directory command.

Does anyone has a solution to bypass this
problem in a batch file which should not be
specific NT? In NT, the commands pushd and
popd will assign a drive letter (the first
available one starting from Z) if a UNC
path is used. How do we assign a drive
letter to a UNC path in Windows 95 MS-DOS ?

Thank you in advance.

Karim Aguenaou



Sponsored Link
Ads by Google

Response Number 1
Name: Nobody Particular
Date: June 22, 1999 at 07:13:37 Pacific
Reply:

Karim

Windows 95 (GUI: DOS Box)

If you wish to use a DOS session in windows and browse network drive contents, map a network drive through the GIU and that mapping will be valid until either it is unmapped or the machine is restarted.

MS-DOS (or MS-DOS Mode in Windows 95)

This one is a little trickier. From memory you need to have Windows 3.11 or 95) installed to get this command, but I can be proven wrong on this point. The command is the NET command, it's a very complex command, so you'll have to play around for a bit to get it working, but one thing you MUST remember is that for this command to work, you need to have the DOS drivers (Usually LSL.COM etc.) for your NIC installed and executed. It took me AGES to get the result I was after with it, and as per usual... I've forgotten the intricate details, but you'll get used to the NET command and then you can write a command shell script (BAT) to automate some of the process and just use replacable parameters to enter the things that alter.

Anyway I've raved on enough, I hope this helps.

Anon


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Change directory and UNC path

Can not change directory in ms-dos... www.computing.net/answers/dos/can-not-change-directory-in-msdos/10453.html

Changing Directories www.computing.net/answers/dos/changing-directories/12478.html

create directories and put files in www.computing.net/answers/dos/create-directories-and-put-files-in/16513.html