UNC paths

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.
 
D

Dave Patrick

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.
 
S

Sid Knee

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?)
 
D

Dave Patrick

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?)
 

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

Top