ildar-shaimordanov / psubst

Associates a path with a drive letter and extends the standard SUBST command allowing to create persistent substituted drives between startups
MIT License
170 stars 40 forks source link

Can't subst C:\Program Files (x86) on Windows 7 #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. psubst p: "C:\Program Files (x86)" /p

What is the expected output? What do you see instead?

Error: "Invalid parameter - G:"

What version of the product are you using? On what operating system?

Windows 7

Original issue reported on code.google.com by kraw...@gmail.com on 2 Apr 2013 at 7:46

GoogleCodeExporter commented 9 years ago
I'm sorry I meant

psubst g: "C:\Program Files (x86)" /p

Original comment by kraw...@gmail.com on 2 Apr 2013 at 7:54

GoogleCodeExporter commented 9 years ago
First of all. Check that there is no drive named G: in your system. 

This message comes from the original command SUBST. It means that you try 
substitute the specified path to the existing drive name. If you try to 
substitute a path to the drive that already used as substituted you will see 
another message:

{{{
Drive already SUBSTed
}}}

Original comment by Ildar.Sh...@gmail.com on 4 Apr 2013 at 11:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I lowered the issue priority. Little bit later I will close it and give remark 
in the wiki page. here you are -- 
http://code.google.com/p/psubst/wiki/IssuesAndTroubleshooting#Can%27t_SUBST_a_pa
th

Original comment by Ildar.Sh...@gmail.com on 5 Apr 2013 at 2:15

GoogleCodeExporter commented 9 years ago
No matter what drive letter I use, it doesn't work for "C:\Program Files 
(x86)". I also tried using the trailing slash "C:\Program Files (x86)\" but 
this doesn't work either.

So I can't map "C:\Program Files (x86)" on Windows 7 with psubst.

Meanwhile subst g: "C:\Program Files (x86)" works well.

Regards,
Serge.

Original comment by kraw...@gmail.com on 6 Apr 2013 at 8:40

GoogleCodeExporter commented 9 years ago
krawa76, thank you for your comment. It's real bug. I have fixed. Follow to the 
download page for the new version. 

Original comment by Ildar.Sh...@gmail.com on 7 Apr 2013 at 5:31

GoogleCodeExporter commented 9 years ago
The issue has been fixed. The updated file is available for downloading. 

Original comment by Ildar.Sh...@gmail.com on 7 Apr 2013 at 5:32

GoogleCodeExporter commented 9 years ago
Great, it's working now, thanks a lot!

Original comment by kraw...@gmail.com on 8 Apr 2013 at 5:00