ExifTool Forum

ExifTool => Newbies => Topic started by: kebab123 on September 07, 2019, 08:02:13 PM

Title: Problems with command line
Post by: kebab123 on September 07, 2019, 08:02:13 PM
I followed the instructions  but this message still appears " 'exiftool' is not recognized as an internal or external command,
operable program or batch file". What could it be?
Title: Re: Problems with command line
Post by: StarGeek on September 07, 2019, 08:06:22 PM
That means that the command line cannot find exiftool.  It's not in the current directory nor in any directory specified by the PATH ENV variable.

What operating system are you using and what directory did you put exiftool in?
Title: Re: Problems with command line
Post by: kebab123 on September 07, 2019, 08:23:11 PM
its windows 10, I put it under 'Boot (C:)' in the 'Windows' file
Title: Re: Problems with command line
Post by: StarGeek on September 07, 2019, 08:46:05 PM
What happens when you type
where exiftool
on the CMD window?
Title: Re: Problems with command line
Post by: kebab123 on September 07, 2019, 08:56:25 PM
INFO: Could not find files for the given pattern(s).
Title: Re: Problems with command line
Post by: StarGeek on September 07, 2019, 09:00:55 PM
Did you rename exiftool (step 3 under Installing ExifTool - Windows (https://www.exiftool.org/install.html#Windows))?   When first downloaded it is named exiftool(-k).exe

Are you sure it's in C:\Windows?  What is the output of:
dir C:\Windows\Exif*
Title: Re: Problems with command line
Post by: kebab123 on September 08, 2019, 12:03:13 AM
 Volume in drive C is Boot
Volume Serial Number is 46FF-E098

Directory of C:\Windows

29/08/2019  18:32         8,514,880 exiftool.exe.exe
               1 File(s)      8,514,880 bytes
               0 Dir(s)  891,286,777,856 bytes free
Title: Re: Problems with command line
Post by: StarGeek on September 08, 2019, 12:08:57 AM
The program is incorrectly named with a double extension.  You missed the second part of Step 3 of the install
    (or "exiftool(-k)" to "exiftool" if file name extensions are hidden on your system)

Type this on the command line:
ren  C:\Windows\exiftool.exe.exe exiftool.exe

It should work correctly after that.
Title: Re: Problems with command line
Post by: kebab123 on September 08, 2019, 12:10:25 AM
Access is denied.
Title: Re: Problems with command line
Post by: StarGeek on September 08, 2019, 12:36:01 AM
You'll need admin access to do that.  Open up a new CMD as admin and run the command.

Or try going into the C:\Windows directory on the desktop and rename exiftool.exe to exiftool
Title: Re: Problems with command line
Post by: kebab123 on September 08, 2019, 12:43:24 AM
i guess it worked now. Thank you so much for taking your time to help me