can't open nul: No such file or directory

Started by nbsu, January 08, 2019, 01:32:55 AM

Previous topic - Next topic

nbsu

I run exiftool.exe in cmd window (window 10), and show message as follow:

C:\Users\Administrator>exiftool -ver
can't open nul: No such file or directory

Can you help me? thanks。

Phil Harvey

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

nbsu

Quote from: Phil Harvey on January 08, 2019, 07:04:10 AM
What was the exact command you used?

- Phil

Whatever command  (e.g. exiftool -ver  or  exiftool  or other) I used,  the message is the same ("can't open nul: No such file or directory").

But it's normal on other PC (Windows 10 X64).

Phil Harvey

There must be something wrong with the installation.  Try following the Windows uninstalling instructions, then run it again.

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

nbsu


NUL

For others having problems with NUL device on Windows you can check
Control Panel → Device Manager,
click View → Show hidden devices,
navigate to Non-plug and play drivers → Null,
click RMB → Properties,
go to Driver tab and check if it is running.
I have disabled it in a frenzy  ;) once – breaking ExifTool. Other relevant diagnostics may include checking %SystemRoot%\System32\drivers\null.sys for existence.