Main Menu

Windows path

Started by Archive, May 12, 2010, 08:54:08 AM

Previous topic - Next topic

Archive

[Originally posted by mmbicimv on 2007-08-28 14:21:10-07]

Dear Phil,

how is the exiftool windows standalone version dealing with the path names of Windows, like "own files"? I tried something like "c:\own%files\own%directory" but this will not work as well. Any hint?
Birdman

Archive

[Originally posted by exiftool on 2007-08-28 15:07:07-07]

The exiftool application originally didn't do any special parsing of
filenames at all, since all of this is expanded by the shell in Unix.
However, I have added a Windows-specific expansion of wildcards
in filenames since apparently this isn't handled automatically.
Currently I am only expanding filenames if they contain a '?' or '*'
character, but it is possible that the bsd_glob() routine handles
special path names like you have tried.  Try putting a '?' or '*' in
the name too, to see if it expands properly.  If so, I can change
the code to expand these filenames too.

- Phil

Archive

[Originally posted by mmbicimv on 2007-08-28 19:05:51-07]

Dear Phil,

I am sorry, but the '?' or '*' unfortunately will not do the job. I am trying to use the following command:
Code:
c:\Programme\Exiftool\exiftool "-LensType>UserComment" -overwrite_original c:\Dokumente und Einstellungen\MM\Eigene Dateien\*.jpg

The problems are the blanks in the path name, like between "Dokumente" and "und". Exiftool works as if those are separete files instead one path name with file names, it is trying to open the files "c:\Dokumente", "und" and so forth. Do you think there might be a solution?

Thanks in advance
Birdman

Archive

[Originally posted by gordonb on 2007-08-29 02:36:34-07]

wrapping c:\Dokumente und Einstellungen\MM\Eigene Dateien\*.jpg in quotation marks should work...
Code:
c:\Programme\Exiftool\exiftool "-LensType>UserComment" -overwrite_original
 "c:\Dokumente und Einstellungen\MM\Eigene Dateien\*.jpg"

Archive

[Originally posted by mmbicimv on 2007-08-29 06:41:29-07]

Hi Gordon,

You just made my day, thanks a lot! I thought i had tried this yesterday and it did not work, probably i misspelled something. Now it works perfectly!
Birdman