Search code examples
windowsffmpegdir

How to deal with whitespace in foldernames


I am trying to use ffmpeg to process input files with spaces in them.

To check the syntax, I try using Dir in a cmd window and get "file not found".

Dir "C:/DigitalSignageManager/LLRA photos/SpinningTop.mp4"

I have tried escaping with \ and ^ and used double and single quotes, but nothing seems to work.

What is the proper syntax to make this work?


Solution

  • Put quotes around the name. For example: dir "c:\program files"