Problems with installation and use - Windows 10

Started by Cassio Duarte, September 30, 2020, 10:24:21 AM

Previous topic - Next topic

Cassio Duarte

Hello everyone


I followed every step of the installation (https://exiftool.org/install.html), including the ActivePerl 5.28 as suggested. I moved the files "exiftool.pl" and "lib" to a single folder on C:\Windows and opened the cmd.exe where I typed the installation instructions. However, what appeared was:


Microsoft Windows [versão 10.0.19041.508]
(c) 2020 Microsoft Corporation. Todos os direitos reservados.

C:\Users\menka>exiftool.pl
'exiftool.pl' não é reconhecido como um comando interno
ou externo, um programa operável ou um arquivo em lotes.

C:\Users\menka>perl c:\windows\exiftool.pl
Can't open perl script "c:\windows\exiftool.pl": No such file or directory

C:\Users\menka>


The first lines in Portuguese say  'exiftool.pl' is not recognized as an internal command or external, an operable program or a batch file. It seems Exiftool was not recognised by Windows on my PC...




I also tried the executable versions (with and without -k)  but on this case I could not type a single letter, and when I droped a RAW file the only thing that appeared was the following:


SYNOPSIS
  Reading
    exiftool [*OPTIONS*] [-*TAG*...] [--*TAG*...] *FILE*...

  Writing
    exiftool [*OPTIONS*] -*TAG*[+-<]=[*VALUE*]... *FILE*...

  Copying
    exiftool [*OPTIONS*] -tagsFromFile *SRCFILE* [-*SRCTAG*[>*DSTTAG*]...]
    *FILE*...
-- Mais  -- Linhas: 3502

Mais = more; Linhas = lines; 3502 > number of the RAW file

Again, after the quoted information I could not type a single letter, sign or number...



The executable version was my first option and I followed every piece of information I found in order to make it work. Everything I wanted was to follow the same recipe shared by Elio Rivero tutorial (https://elio.blog/how-to-use-the-x-t4-bleach-bypass-film-simulation-on-x-t2-with-capture-one-pro/).

Does anyone know what may be happening so that I cannot access the installed program or type commands on the executable version???

I confess I am not a "DOS person" but I followed every step for the installation/use and the problem seems to be other than wrong commands, isn't it?

I thank in advance for any help! 

Phil Harvey

You didn't need to install the Perl version and ActivePerl.  You only need to install one version of ExifTool, and the .exe version should be enough.

If you drop a raw file on "exiftool(-k).exe", then it should extract the metadata from the file and display this in a console window.  If it doesn't, then something funny is going on.

What exactly do you want to do with ExifTool?  If you want to edit metadata, then you may want to use the command line and not the drag-and-drop technique.  In this case you should follow the install instructions for command-line use (ie. rename to "exiftool.exe" and put in your PATH somewhere, steps 1-4 here).  If you do this, you can test it by typing "exiftool -ver" at the command line -- this should return only the ExifTool version number.

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

StarGeek

Quote from: Phil Harvey on September 30, 2020, 12:20:59 PMIf you want to edit metadata, then you may want to use the command line and not the drag-and-drop technique.

If you would like a GUI, then you could try hvdwolf's jExifToolGUI.
"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

Cassio Duarte

Dear Phil and StarGeek

Thanks very much for your quick answer!


Phil: Indeed I need to update the EXIF data of my RAW files. I followed your instructions and I was successful to make the cmd.exe show the version number:

C:\Users\menka>exiftool -ver
12.06

Now my problem is to adapt the instructions Elio Rivero gave for Apple system to Windows... (I tried the same commands but it seems they are different for PC).
I would be grateful if you could instruct me how to "translate" the command to access the directory of my RAW files.  For example, Rivero's command for Mac was:

cd ~/Pictures/USA/Nashville/CaptureNashville

For example, my folder with Fuji RAF files is on the Desktop (C:\Users\menka\Desktop\Fuji). I typed exactly this path but it says "it is not recognized as an internal or external command, an operable program or a batch file". Certainly I missed something...

Once the directory was found, Elio instructs to make a copy of the RAF file where we want to use the ETERNA Bleach Bypass film simulation on Capture One:

cp _DSF1234.RAF _DSF1234-xt4.RAF && exiftool _DSF1234-xt4.RAF -model=X-T4
Here he uses two commands: 1st. the cp command will copy the _DSF1234.RAF into _DSF1234-xt4.RAF; 2nd. the exiftool will update the camera model in the file

He says it is also possible doing the commands one after the other like this:

cp _DSF1234.RAF _DSF1234-xt4.RAF
exiftool _DSF1234-xt4.RAF -model=X-T4

Could you help me to put these commands on "Windows" language, if you please?


StarGeek: I downloaded and opened the jExifToolGUI but I did not found a way to list the RAW files I wanted to change. What I found strange was that on the "View data" section, if I want to choose "by camera" there is no Fujifilm on the list... If you can instruct me to use this GUI version for the purposes above explained I would be extremely thankful.

Luuk2005

#4
Greetings Menka. From one noob to another, here is commands for the commandline.
cd  C:\Users\menka\Desktop\Fuji
copy _DSF1234.RAF  _DSF1234-xt4.RAF
exiftool -Overwrite_Original -Model=X-T4 _DSF1234-xt4.RAF

The exiftool is smart and already makes copy for you, unless you command -Overwrite_Original.
Since Line2 already makes copy, Line3 commands -Overwrite_Original so not to have two copies!
Sorry, Im not have the GUI but would much like to try it, if can be "portable" without installation?
Windows8.1-64bit,  exiftool-v12.92(standalone),  sed-v4.0.7

StarGeek

Quote from: Cassio Duarte on September 30, 2020, 06:50:08 PM
For example, my folder with Fuji RAF files is on the Desktop (C:\Users\menka\Desktop\Fuji). I typed exactly this path but it says "it is not recognized as an internal or external command, an operable program or a batch file". Certainly I missed something...

Try this
cd %USERPROFILE%\desktop\Fuji

%USERPROFILE% is a Windows ENV variable for the user's profile directory, where the desktop folder should be located.

QuoteOnce the directory was found, Elio instructs to make a copy of the RAF file where we want to use the ETERNA Bleach Bypass film simulation on Capture One:
<...>
Could you help me to put these commands on "Windows" language, if you please?

No need for two commands.  With the -o (-Outfile) option, you can copy the file and change the data in one command.

C:\>exiftool -g1 -a -s -Model y:\!temp\Test4.jpg
---- IFD0 ----
Model                           : Old Model

C:\>exiftool -P -o y:\!temp\Test4-edited.jpg -model=X-T4 y:\!temp\Test4.jpg
    1 image files created

C:\>exiftool -g1 -a -s -Model y:\!temp\Test4.jpg y:\!temp\Test4-edited.jpg
======== y:/!temp/Test4.jpg
---- IFD0 ----
Model                           : Old Model
======== y:/!temp/Test4-edited.jpg
---- IFD0 ----
Model                           : X-T4
    2 image files read



QuoteIf you can instruct me to use this GUI version for the purposes above explained I would be extremely thankful.

I don't actually use the GUI myself so I can't help there, but the author has been pretty active in updating it and adding new features, so I promote it a bit.
"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

Cassio Duarte

Many thanks for your kind explanations LUUK2005 and StarGeek!

I followed your instructions Luuk2005 but I don't know why Windows command do not see my RAF raw file on the folder:

C:\Users\menka>cd  C:\Users\menka\Desktop\Fuji

C:\Users\menka\Desktop\Fuji>copy _ DSCF0598.RAF  _ DSCF0598-xt4.RAF
O sistema não pode encontrar o arquivo especificado.

C:\Users\menka\Desktop\Fuji>


Well, I do not want to take too much of your precious time friends since I am trying to copy a method that was first used for MAC... I have no idea how the command prompt works with exiftool, if is something automatic or if we must "call" for the application before the rest of the operation. Perhaps for windows the way is completely different.

Anyway, could you explain why the RAF files did not appear ("the system could not find the specified file")?

Could you suggest, if you please and if it would not take too much of your time, a recipe to change Fujifilm camera model name from x-t2 to x-t4 on the EXIF tags of my RAF files using the command prompt?

Thanks very much once again!

StarGeek

It looks like you have spaces in the name, though it's hard to tell without using the fixed lenth format in this forum (select the text and hit the button)

Any filepath that contains a space needs to have quotes around it
copy "_ DSCF0598.RAF"  "_ DSCF0598-xt4.RAF"
"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

Cassio Duarte

Thanks StarGeek!

As soon as I return home I will try it!