[p4] Ignore WIN case sensitive drive character in "p4 dirs"

Robert Cowham robert at vizim.com
Tue Nov 18 06:34:36 PST 2008


Use a client spec AltRoot?? 

> -----Original Message-----
> From: perforce-user-bounces at perforce.com 
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of 
> Sheizaf, Yariv
> Sent: 18 November 2008 14:13
> To: perforce-user at perforce.com
> Subject: [p4] Ignore WIN case sensitive drive character in "p4 dirs"
> 
> Hi,
> 
> Let's say I have a folder DOS path, for example: 
> C:\workdir\mydepot\abc\xyz
> 
> Where C:\workdir is my Perforce Client root folder.
> 
> The expected output of "p4 dirs C:\workdir\mydepot\abc\xyz"
> Is:   //mydepot/abc/xyz
> 
> But, if in the "cmd" window (yes, the old DOS) the drive 
> character is "c:" instead of "C:", Then the output of "p4 
> dirs" is "files not in client view" (because the client view 
> knows only C:, not c: ).
> 
> How can I solve it (without using Perl, Bash, etc. - using 
> pure & poor DOS)?
> 
> Option 1:  Translate "c:" to "C:" ?
> Option 2:  Use an "ignore case sensitivity" argument for "p4 dirs"?



More information about the perforce-user mailing list