Skip to main content
Kofax

Cannot Recognize File Format error when importing image with long path

21659

QAID # 21659 Published

Question / Problem:

A Cannot Recognize File Format error occurs when importing an image with a long file path in Capture.

Is there a way to prevent this error without shortening the file path?

Answer / Solution:

The long path name may be linked to a shorter path by creating a Directory Junction using the Microsoft Windows command Mklink. A Directory Junction is a symbolic link to a directory that acts as an alias of that directory.

After adding this symbolic link, the same data will be accessible in the short path as it is from the long path.

In Capture, the user will need to browse to the short path to import the image and avoid the error.

This was tested successfully using the the following syntax:

C:\Windows\system32>mklink /j \shortfilepath "\LongFilePath"

This syntax was obtained from the following Microsoft link:

Microsoft ¦ TechNet ¦ Mklink

Applies to:

Product Version
CAPTURE 10.0
  10.1
  10.2
  11.0