View Single Post
Old 01-18-2019, 08:13 AM   #19
Human being with feelings
karbomusic's Avatar
Join Date: May 2009
Posts: 25,631

The old 8.1 style path might work in that situation, it's something good to know...

Such as: C:\PROGRA~1\

^Where the number = the occurrence of that string in the directory in alphabetical order.

To determine the "short path" name of a directory, CD to one level up and run dir /x

01/17/19 03:38 PM <DIR> PROGRA~1 Program Files
01/14/19 10:41 AM <DIR> PROGRA~2 Program Files (x86)

If you work that somehow into what you are doing, it may solve the issue...


Ideally quote escaping etc. is better, if possible... assuming there is no code that demands the 8.1 format.
Clever is not the same as good, clever is from the head, good is from the heart. -Benmont Tench
karbomusic is offline   Reply With Quote