Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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

![]() |
![]() |
![]() |

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