PDF Opening Issues

Fix Adobe Acrobat Command-Line Errors for PDF Filenames with Spaces

John WilsonJohn Wilson Nov 19, 2026 868 views

Question details

The user needs to open a PDF whose filename contains spaces from Windows Command Prompt using Adobe Acrobat.

Fix Acrobat Command-Line Errors for PDF Filenames with Spaces
Product
Adobe Acrobat
Device & OS
Windows; Windows 11 and Windows 10 Enterprise version 21H2 are both mentioned
Scenario
Launching Acrobat with a PDF path entered as a command-line argument.
Observed behavior
Acrobat may report that the PDF cannot be found when its path contains spaces.
Before you start

Locate the PDF in File Explorer and confirm that it exists. If you plan to use Acrobat's full executable path, locate that path as well.

Solution 1Recommended

Quote the Acrobat executable and PDF paths

Use quotation marks to ensure Windows treats each path containing spaces as a single command argument.

1
Open Command Prompt

Open the Start menu, search for Command Prompt, and select it.

2
Enter the command

If acrobat.exe is available as a command, enter: acrobat.exe "C:\temp\file name with space.pdf". Replace the PDF path with the actual path to your file.

3
Quote the executable path if needed

If you use the full path to Acrobat, quote it separately from the PDF path. For example, enter: "C:\path to Acrobat\Acrobat.exe" "C:\temp\file name with space.pdf". Replace both example paths with the actual paths, then press Enter.

Quote the Acrobat executable and PDF paths
Check both paths: If Acrobat still cannot find the file, verify the PDF path and filename in File Explorer, including the .pdf extension.
Free Microsoft Office alternative

Open PDFs with WPS Office

WPS Office is a free, lightweight alternative for opening PDFs and working with Office files in a familiar interface. It offers an easy way to move between common file formats, though it does not fix Acrobat's command-line behavior.

Open PDF files through the WPS interface without entering a command-line pathCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXFree and lightweight for everyday document workFamiliar interface makes moving from Microsoft Office straightforward
microsoft office alternative - wps office

Frequently Asked Questions

Why does Acrobat report that a PDF with spaces cannot be found?

Without quotation marks, Windows Command Prompt can split a path at spaces. Enclose the complete PDF path in double quotation marks so it is passed as one argument.

Do I need to quote the Acrobat executable path too?

Yes, if the full executable path contains spaces. Put separate double quotation marks around the executable path and the PDF path.

What if acrobat.exe is not recognized in Command Prompt?

Locate Acrobat.exe in File Explorer and use its full path in the command, enclosed in double quotation marks, followed by the separately quoted PDF path.

How can I check that the PDF path is correct?

Find the file in File Explorer and confirm its name and location. You can use Copy as path, where available, to insert the quoted path into your command.