Fix Adobe Acrobat Command-Line Errors for PDF Filenames with Spaces
Question details
The user needs to open a PDF whose filename contains spaces from Windows Command Prompt using Adobe Acrobat.

- 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.
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.
Quote the Acrobat executable and PDF paths
Use quotation marks to ensure Windows treats each path containing spaces as a single command argument.
Open the Start menu, search for Command Prompt, and select it.
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.
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.

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.

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.




