Exiftool Prints Help instead of Read Values

Started by Oskar, July 13, 2020, 02:25:08 AM

Previous topic - Next topic

Oskar

Hello, everybody!

I am using Exiftool for many years, I am not a beginner. Today, out of a sudden it stopped working.

While trying to run in Command Prompt(as admin):

exiftool.pl -csv -r -filename -description -subject d:\03 > c:\Users\admin\Desktop\200713.csv

the system kept asking me: "What would you like to open with this file?". It never happened before. I kept repeating the command a few times and each time got the same question. I ceased and went down all the menu "choose an app" and I choose "c:\Perl64\bin\perl.exe".

Now it keeps printing the help of the exif executable into the csv file.

I reinstalled Active Perl but the problem persists.

In default program association for .pl files it says "Perl Command Line Interpreter" and there is no way to change it.

Please help  me make exiftool print the correct data back again!

Oskar

Amazingly

exiftool.pl -csv -r -filename -description -subject d:\03 > c:\Users\admin\Desktop\200713.csv

works as expected!

So, I  have a problem with the file associations but I could not find it.

StarGeek

Have you tried Right clicking->Properties -> Opens With Change button?
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Oskar

I did: then I selected the perl.exe from the \bin folder of the perl installation. That is what made it print the help instead of reading the image values. The only thing I did previous to this trouble was to install Anaconda - but as far as I know Anaconda has no connection with Perl and to uninstall Visual Studio on which I had packages only for C, Python, Javascript - nothing related to Perl.

StarGeek

Quote from: Oskar on July 13, 2020, 02:25:08 AM
I reinstalled Active Perl but the problem persists.

Was this done as admin?  The docs mention that "PerlScript file associations are not created" if not installed as admin.

Also, it's been a while since I used ActivePerl (I now use Strawberry perl) but I faintly recall that there were 2 or 3 different executables for different situations.  I could be wrong though.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

obetz

Quote from: Oskar on July 13, 2020, 02:52:57 AM
Amazingly

exiftool.pl -csv -r -filename -description -subject d:\03 > c:\Users\admin\Desktop\200713.csv

works as expected!

this is exactly the same command as you posted before (in the original posting), so I don't understand what you want to express.

obetz

Quote from: StarGeek on July 14, 2020, 11:45:49 AM
Also, it's been a while since I used ActivePerl (I now use Strawberry perl) but I faintly recall that there were 2 or 3 different executables for different situations.  I could be wrong though.

IIRC, there is a GUI version not opening a console window.

Oskar

Quote from: obetz on July 14, 2020, 02:36:44 PM
Quote from: Oskar on July 13, 2020, 02:52:57 AM
Amazingly

exiftool.pl -csv -r -filename -description -subject d:\03 > c:\Users\admin\Desktop\200713.csv

works as expected!

this is exactly the same command as you posted before (in the original posting), so I don't understand what you want to express.


Sorry, my mistake. The command that works as expected is:

perl exiftool -csv -r -filename -description -subject d:\03 > c:\Users\admin\Desktop\200713.csv

Still having the problem, unable yet to find what makes it behave like that.

Oskar

Quote from: StarGeek on July 14, 2020, 11:45:49 AM
Quote from: Oskar on July 13, 2020, 02:25:08 AM
I reinstalled Active Perl but the problem persists.

Was this done as admin?  The docs mention that "PerlScript file associations are not created" if not installed as admin.

Also, it's been a while since I used ActivePerl (I now use Strawberry perl) but I faintly recall that there were 2 or 3 different executables for different situations.  I could be wrong though.

All as admin. I will give Strawberry a try.

Oskar

Quote from: StarGeek on July 14, 2020, 11:45:49 AM
Quote from: Oskar on July 13, 2020, 02:25:08 AM
I reinstalled Active Perl but the problem persists.

Was this done as admin?  The docs mention that "PerlScript file associations are not created" if not installed as admin.

Also, it's been a while since I used ActivePerl (I now use Strawberry perl) but I faintly recall that there were 2 or 3 different executables for different situations.  I could be wrong though.

Strawberry did the trick! Now it works as usual, i.e. like a charm! I have no clue what made Active Perl break. Thank you all for your kind support!