http://forums.creativecow.net/thread/227/16660#16664
we're trying to get iso info from jpg's into text in AE. So far it works perfect when I go to windows cmd
c:\a\exiftool -T -iso c:\a\b.jpg > out.txt
which gives me 80 iso in a text file. But when I try the java code jsx
system.callSystem("cmd /c \"C:\\a\\exiftool -T -iso c:\\a\\b.jpg\ > c:\\a\\out.txt\"");
it opens the program and sends 80 iso to cmd screen but not to out.txt, although it makes out.txt but leaves it blank. It's weird, like java ignores the pipe command < to send 80 iso to out.txt. I've tried various permutations with quotations, with no luck.
http://forums.creativecow.net/thread/227/16660#16664
system.callSystem with pipes
Moderator: Paul Tuersley
-
- Posts: 15
- Joined: June 5th, 2010, 7:06 am
Code: Select all
var iso = system.callSystem("cmd /c \"C:\\a\\exiftool -T -iso c:\\a\\b.jpg\""); // iso = 80