Renamed Windows executable always pauses

Started by jeffbuzz, April 03, 2018, 02:30:53 PM

Previous topic - Next topic

jeffbuzz

I downloaded the latest Windows executable  10.89 and renamed it to exiftool.exe.  When run from the Windows command line without parameters it still pauses on each screen with "-- More  --" as if the "-k" option is being passed.  How do I run without pauses?

Thank you.

Phil Harvey

This shouldn't happen.  The only thing I can suggest is that you aren't running what you think you are.  Try dragging a file directly onto "exiftool.exe" to see if it pauses or not before terminating. 

- 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 ($).

jeffbuzz

If I drag and drop an image file onto the exiftool(-k).exe in Windows explorer it runs and pauses as expected.  Drag and drop onto renamed exiftool.exe runs and closes without pausing.

Running either one from the command prompt without parameters runs and pauses.

Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>cd \utils\exiftool-10.89-Win

C:\utils\exiftool-10.89-Win>dir
Volume in drive C has no label.
Volume Serial Number is FD00-0047

Directory of C:\utils\exiftool-10.89-Win

04/03/2018  12:08    <DIR>          .
04/03/2018  12:08    <DIR>          ..
04/02/2018  10:40         8,332,439 exiftool(-k).exe
04/02/2018  10:40         8,332,439 exiftool.exe
               2 File(s)     16,664,878 bytes
               2 Dir(s)  86,203,535,360 bytes free

C:\utils\exiftool-10.89-Win>exiftool.exe
NAME
    exiftool - Read and write meta information in files

RUNNING IN WINDOWS
    Drag and drop files or folders onto the exiftool executable to display
    meta information, or rename to "exiftool.exe" and run from the command
    line to access all exiftool features.

    This stand-alone Windows version allows simple command-line options to
    be added to the name of the executable (in brackets and separated by
    spaces at the end of the name), providing a mechanism to use options
    when launched via the mouse. For example, changing the executable name
    to "exiftool(-a -u -g1 -w txt).exe" gives a drag-and-drop utility which
    generates sidecar ".txt" files with detailed meta information. As
    shipped, the -k option is added to cause exiftool to pause before
    terminating (keeping the command window open). Options may also be added
    to the "Target" property of a Windows shortcut to the executable.

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

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

  Copying
    exiftool [*OPTIONS*] -tagsFromFile *SRCFILE* [-*SRCTAG*[>*DSTTAG*]...]
    *FILE*...

-- More  --


Phil Harvey

Ah.  Yes, it always pauses when you run without parameters.  This is so you can read the (rather long) help documentation.  You can't avoid the pauses at each page of the documentation.

- 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 ($).