Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

setting Working Dir with -w issue

Help
ds1
2014-06-11
2014-06-11
  • ds1
    ds1
    2014-06-11

    I want zip a files up via the command line, i'm executing the following command from installation directory of 7-zip C:\Program Files (x86)\7-Zip\ . the command is '7z a -t7z -m0=copy archive.7z C:\temp\build*.* -wc:\temp2'. This issues is it not putting the archive.7z in c:\temp2 directory. I have tried the -o this is only for extraction.

    It is however creating the file at location C:\Users\XXXXX\AppData\Local\VirtualStore\Program Files (x86)\7-Zip

    any help is much appreciated

     
    Last edit: ds1 2014-06-11
  • Igor Pavlov
    Igor Pavlov
    2014-06-11

    7z a c:\temp2\archive.7z

     
  • ds1
    ds1
    2014-06-11

    solved i added by running 7z a -t7z -m0=copy c:\temp2\archive.7z C:\temp\build. cant believe it was that simple need to look away from the code time to time !! hope this helps someone

     
  • ds1
    ds1
    2014-06-11

    thanks Igor ive just seen your post!!