This project is read-only.
1
Vote

long filenames don't work

description

Example filename "one two three four\five.xml"
In the file it will have the filename (without quotes)
MakeCab /F file.ddf will generate an error ERROR: Unexpected text: three four\five.xml
Since it was always missing the first two words I knew the spaces were the issue. I figured out that putting quotes around the whole path is what it needs.

So in the file having quotes around the whole path and filename fixes the problem.

Special note: Only the source lines need this treatment. .Set DestinationDir, for example, is fine without quotes.
Adding quotes does not hurt short filenames.

comments