Detect-It-Easy icon indicating copy to clipboard operation
Detect-It-Easy copied to clipboard

diec - how to pass path with spaces?

Open matejkac opened this issue 2 years ago • 3 comments
trafficstars

Full path: c:\Program Files (x86)\with space\ quoting the path usualy works, so diec "c:\Program Files (x86)\with space\" should work, but it doesn't. diec c:\Progra~2\withsp~1 works, but you have to know the short (8.3) path names.

Any other way to quote the path?

matejkac avatar Jan 26 '23 08:01 matejkac

The problem is you're actually escaping the quote: either remove the backslash (...space"), add another one (...space\\"), or use slashes (...space/").

adoxa avatar Jan 26 '23 08:01 adoxa

HI @horsicq I will send example files

111STAR avatar Feb 27 '23 00:02 111STAR

Full path: c:\Program Files (x86)\with space\ quoting the path usualy works, so diec "c:\Program Files (x86)\with space\" should work, but it doesn't. diec c:\Progra~2\withsp~1 works, but you have to know the short (8.3) path names.

Any other way to quote the path?

diec "c:/Program Files (x86)/with space/"

DevX-Cipher avatar Mar 10 '24 15:03 DevX-Cipher