[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Can't get /pathfile to work

From: Michael Geisinger <Sidewinder_GER_at_hotmail.com>
Date: Sat, 4 Sep 2010 02:43:59 -0700 (PDT)

Hi,

> When I try to do a commit via commandline, using the /pathfile option, TSVN displays the following message in the commit dialog:
>
> Can't open file '"C:\Users\crash\Documents\Visual Studio 2008\Project\MyGames"\.svn\entries': Die Syntax fur den Dateinamen, Verzeichnisnamen oder die Datentragerbezeichnung ist falsch.
>
> The pathfile is a programatically generated UTF-16 little-endian encoded file with the following content (I also tried without quotes):
>
> "C:\Users\crash\Documents\Visual Studio 2008\Projects\MyGames"
>
> That's how I specify the pathfile on the commandline:
>
> tortoiseproc /command:commit /pathfile:"C:\Us
> ers\crash\AppData\Local\Temp\tmpF615.tmp"

Have you tried putting the quotation marks around the whole parameter string, like so:

tortoiseproc /command:commit "/pathfile:C:\Users\crash\Documents\Visual Studio 2008\Project\MyGames"

> Interestingly, it works when I specify the pathfile content via /path directly:
>
> tortoiseproc /command:commit /path:"C:\Users\
> crash\Documents\Visual Studio 2008\Projects\MyGames"

That probably works because there is no string concatenated to the path and hence the quoted part is still a valid Windows path name.

-- 
Michael
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2655418
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-04 12:00:30 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.