Author Topic: can't open nul: No such file or directory  (Read 1241 times)

nbsu

  • Newbie
  • *
  • Posts: 3
can't open nul: No such file or directory
« on: January 08, 2019, 01:32:55 AM »
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。
« Last Edit: January 08, 2019, 01:46:30 AM by nbsu@163.com »

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16706
    • ExifTool Home Page
Re: can't open nul: No such file or directory
« Reply #1 on: January 08, 2019, 07:04:10 AM »
What was the exact command you used?

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

nbsu

  • Newbie
  • *
  • Posts: 3
Re: can't open nul: No such file or directory
« Reply #2 on: January 09, 2019, 02:53:38 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

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16706
    • ExifTool Home Page
Re: can't open nul: No such file or directory
« Reply #3 on: January 09, 2019, 07:38:34 AM »
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, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

nbsu

  • Newbie
  • *
  • Posts: 3
Re: can't open nul: No such file or directory
« Reply #4 on: January 10, 2019, 02:58:54 AM »
Thanks,I will try it.

NUL

  • Newbie
  • *
  • Posts: 1
stopped NUL device
« Reply #5 on: June 19, 2020, 06:48:56 PM »
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.