7zip cmd line write a file name with underscores -


this seems simple 1 can't find anywhere!

i want zip file command:

@"a -tzip -mx0 -v500m -mmt -- c:\greg_folder\zippedpackage.zip d:\tmp\failedimages"; 

this means i'd zip folder "d:\tmp\failedimages" , move "c:\greg_folder\zippedpackage.zip"

the problem: want zip "greg_folder" , not 'greg folder"... underscores seem translated spaces in cmd line. need way want underscores treated literally part of directory name.

any ideas?

i compressed folder on drive using command without @ , quotes.

"c:\program files\7-zip\7z.exe" -tzip -mx0 -v500m -mmt -- c:\greg_folder\zippedpackage.zip k:\devkitpro\devkitarm\arm-eabi 

i did not put "@" sign other option (and bug seems strange side-effect), , created "greg_folder" directory , .zip.001 file inside.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -