exporting to database from a self contained executable?

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

Previous topic - Next topic

Archive

[Originally posted by hoonhkim on 2009-09-17 22:46:16-07]

I'm trying to create a shortcut so that I can just drop a folder with a bunch of images onto exiftool and output to a tab delimited file. I modified the target in the shortcut file but it always has an error for the directory. I'm trying not to use it as a line command for ease.

Code:
so far I have the target as C:Documents and Settings\username\Desktop\exiftool.exe" -T -k > all.txt

Code:
I get "error opening dir >"
and "File not found: all.txt"
I can run it to get individual txt files for each jpg, but I want it all in one txt file. Any thoughts?
Thanks
Hoon

Archive

[Originally posted by exiftool on 2009-09-18 11:08:18-07]

Hi Hoon,

Unfortunately I don't think you can pipe the output of a command
(with ">") in a Windowsshortcut.  But I think you can probably get
around this with a .BAT file.  Try creating a .BAT file something
like this:

Code:
"C:Documents and Settings\username\Desktop\exiftool.exe" -T %1 > all.txt

This has a chance of working, but I'm not sure what directory "all.txt"
will be written to.  (Not where you expect I bet.)  So you may
want to add a directory specification to "all.txt" so it gets written
somewhere reasonable.

- Phil

Archive

[Originally posted by exiftool on 2009-09-18 11:09:12-07]

I forgot to mention that you now drag and drop the folder onto
the .BAT file instead of exiftool in case that wasn't clear. - Phil

Archive

[Originally posted by hoonhkim on 2009-09-18 16:42:11-07]

Yes! That worked. I had to make sure to keep the target in quotes as well but it did the trick. Thanks!

Hoon