Originally created by: map...@gmail.com
What steps will reproduce the problem?
1. in Windows Explorer navigate to a unc path, e.g. \\server\share\folder
2. press Console button (or ctrl-m)
What is the expected output? What do you see instead?
The console window opens, but with C:\WINDOWS as the current directory and
the error:
'\\server\share\folder'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
What version of the product are you using? On what operating system?
StExBar 1.6.0.187 x64
Windows XP Pro x64 v2003 SP2
Please provide any additional information below.
If the PUSHD command were used before starting CMD.exe the UNC would mapped
to a temporary drive letter. For example:
@echo off
pushd \\server\share\folder
cmd
popd
exit
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tortoisesvn
Or better yet instead of trying to use pushd, just use the already existing code to
find the mapped path for the UNC path and then start the cmd.exe for that.
Labels: -Type-Defect Type-Enhancement
Owner: tortoisesvn
Status: Accepted
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: map...@gmail.com
Will that code still work in the case where there is not a drive letter mapped?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tortoisesvn
Ups - we only have a function to convert a local path to an UNC path, not the other
way around. And the other way around isn't possible in a consistend way (you can have
mapped a network share to multiple drive letters).
Status: New
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tortoisesvn
(No comment was entered for this change.)
Owner: ---