Author Topic: out.txt file missing  (Read 995 times)

athegn

  • Jr. Member
  • **
  • Posts: 11
Re: out.txt file missing
« Reply #15 on: August 27, 2018, 12:09:55 PM »
I am being a really silly boy.

My opening post said:-

I have exiftool installed on my desktop at:

I don't actually have it installed in Windows just an icon on my Desktop.

Should I install it in Windows and if so how?

Have I downloaded the correct file?




Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14405
    • ExifTool Home Page
Re: out.txt file missing
« Reply #16 on: August 27, 2018, 12:44:31 PM »
Right.  Follow all 4 steps in the Windows install instructions.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

athegn

  • Jr. Member
  • **
  • Posts: 11
Re: out.txt file missing
« Reply #17 on: August 27, 2018, 01:14:17 PM »
I have followed those steps, have rebooted pc, used exiftool -ver and got 11.10.

In C:\Windows\exiftool.exe Details File version  11.1.0.0
File size 8,366,080 bytes

Dragged Matching images file over bat icon but still Out.csv only shows

C:\Users\alanf\Desktop> in cell A1?

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14405
    • ExifTool Home Page
Re: out.txt file missing
« Reply #18 on: August 27, 2018, 01:20:24 PM »
Maybe try changing the .bat file to this, just to be sure you are executing the correct exiftool:

C:\WINDOWS\exiftool.exe -csv -gpslatitude -gpslongitude %* > C:\Users\alanf\Desktop\out.csv

Also, I have set the path to the output .csv file to your desktop because I don't know where it would go when you run the .bat by dragging and dropping.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 2365
Re: out.txt file missing
« Reply #19 on: August 27, 2018, 01:44:14 PM »
Also, I have set the path to the output .csv file to your desktop because I don't know where it would go when you run the .bat by dragging and dropping.

In the batch file I created at the start of this, it would end up in the parent directory of the directory I dropped onto the batch file.  Which, in the case of dropping a desktop directory would be harder to find.
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

athegn

  • Jr. Member
  • **
  • Posts: 11
Re: out.txt file missing
« Reply #20 on: August 27, 2018, 05:03:04 PM »
Get different result now.

Drag Matching file over bat icon. Quick flash of command prompt  then nothing.

bat file contents

C:\WINDOWS\exiftool.exe -csv -gpslatitude -gpslongitude %* >
C:\Users\alanf\Desktop\out.csv

Sorry but got chased out to go to dinner; better come back tomorrow.

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 2365
Re: out.txt file missing
« Reply #21 on: August 27, 2018, 05:44:29 PM »
Put
pause
on a new line at the end of the batch file.  I was able to get it to flash like that while testing and it meant that it wasn't able to find exiftool.  The pause command will hold the window open long enough to be able to read the output, which should be an error of some sort.  You can then copy/paste it here.
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

athegn

  • Jr. Member
  • **
  • Posts: 11
Re: out.txt file missing
« Reply #22 on: August 31, 2018, 09:52:57 AM »
Sorry for my late return to this; went hiking for few days - the images I am looking at are hiking images.

Anyway, as expected, my fault.

I had:-

C:\WINDOWS\exiftool.exe -csv -gpslatitude -gpslongitude %* >
C:\Users\alanf\Desktop\out.csv

Not:-

C:\WINDOWS\exiftool.exe -csv -gpslatitude -gpslongitude %* > C:\Users\alanf\Desktop\out.csv

i.e. all on one line.

Now have my spreadsheet with the required information.

Thank you for your patience.

Rudy

  • Newbie
  • *
  • Posts: 1
Re: out.txt file missing
« Reply #23 on: March 02, 2019, 04:45:24 PM »
Who says reading the forums for your answer never works? This is what I needed! Between StarGeek's
Quote
build a batch file
and Phil Harvey's
Quote
C:\WINDOWS\exiftool.exe -csv -gpslatitude -gpslongitude %* > C:\Users\alanf\Desktop\out.csv
I got everything I needed -- a file with FILENAME, LAT, LONG for everything I drop on it.  Thanks guys!!