UNC paths

  • Thread starter Thread starter Sid Knee
  • Start date Start date
S

Sid Knee

I have a right-click menu command that I use to open a command window in
a directory that I point to. The command line used is:

cmd.exe /k cd%1

This works fine for directories on local drives, but if I try to use it
on a network drive I get a "unc paths are not supported" error.

Am I stuck with this or is there a way to get it to work.

Note: I have another right-click menu command whose purpose is to purge
some cad files which suffers the same problem (and which is actually
more pressing) but the command window example above illustrates the
problem more simply.
 
Use the reghack found here.

http://support.microsoft.com/kb/156276

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I have a right-click menu command that I use to open a command window in
| a directory that I point to. The command line used is:
|
| cmd.exe /k cd%1
|
| This works fine for directories on local drives, but if I try to use it
| on a network drive I get a "unc paths are not supported" error.
|
| Am I stuck with this or is there a way to get it to work.
|
| Note: I have another right-click menu command whose purpose is to purge
| some cad files which suffers the same problem (and which is actually
| more pressing) but the command window example above illustrates the
| problem more simply.
 
Dave said:

Thank you (once again) Dave. That looks like just the job.

It says at one point "Obtain the updated Cmd.exe" but doesn't give any
further explanation or reference. Do you know if this is still valid and
where to get the updated cmd.exe ? (or perhaps this has been included in
say SP4 or a roll-up and this reference is out of date?)
 
You're welcome. You should only need the updated version if you're running
Windows NT version 4.0

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Thank you (once again) Dave. That looks like just the job.
|
| It says at one point "Obtain the updated Cmd.exe" but doesn't give any
| further explanation or reference. Do you know if this is still valid and
| where to get the updated cmd.exe ? (or perhaps this has been included in
| say SP4 or a roll-up and this reference is out of date?)
 
Back
Top