How to: Fix “Could not Find a Part of The Path \tempOCR.pdf”

Use Case

When I try to run OCR on my file nothing happens and the diagnostics icon at the top of my CaseGuard appears red with the error “Could not find a part of the path tempOCR.pdf.” This issue is usually caused by an issue with the file name you are trying to OCR.

Follow the steps to fix the error!

  • In CaseGuard open up the project with the file you are trying to OCR.
  • In the Project Files Panel select the “Open Project Foldericon-OpenProjectFill icon.

Project Files panel showing a single PDF named 'Personnel Screening Policy.pdf' marked New; bottom toolbar with an Open Folder icon highlighted.

  • The Windows File Explorer will open.
  • Right-click the file that is causing issues and select “Properties.”
  • The properties window will open, in the text box rename the file to something short with no spaces.

Screenshot of Windows Properties dialog for the file PersonnelPolicy.pdf. It shows Type: Adobe Acrobat Document (.pdf), Opens with: Adobe Acrobat, Location: a Windows path, Size: 749 KB, Size on disk: 752 KB, Created/Modified times on June 2, 2026, Accessed recently, Attributes: Read-only and Hidden unchecked.

  • Click “OK” and reopen CaseGuard.
  • In the Project Files Panel select the Refresh Icon icon-refresh to update the name of the file inside CaseGuard.
  • Run the OCR again on the file.

We recommend OCRing your file before you begin redacting it. If you have already started your redaction and ran into this error you will also need to change the name of your history file to the same name of your document file.

Follow these steps to change the name of your history file!

  • In the Project Files Panel select the “Open Project Folder” icon-OpenProjectFill icon.
  • The Windows File Explorer will open.
  • Within the Project folder select the “History” folder.
  • Find the newest .cg file with the previous name of your file.
  • Right-click the file and select “Properties.”
  • The properties window will open, in the text box rename the file to the same name as your newly named.
    • Keep the _005.cg at the end!

Screenshot of a Windows file properties dialog for PersonnelPolicy.pdf_0005.cgl, showing location, size, and dates (created/modified).

  • Reopen CaseGuard with the project and select “File Revision” in the left toolbar.
  • The file revisions window will open and select the “Go back to history filecaseguard studio icon - history icon.
  • Dark software menu showing actions like Undo, Redo, Go To Position;'Version History' is highlighted in blue/cyan.

    Version History dialog listing five saved video project files with dates, file sizes, and actions to restore or delete; the Restore button is highlighted in red.

All of your work should be returned, if you are still having issues please contact [email protected].