Menu

#17 7z a -tzip ..\01.zip ..\01.txt, is it posible?

open
nobody
None
5
2012-12-07
2003-02-20
Anonymous
No

Hi!!

I want to use 7zip to compress some files in the line
version...

I have a main directory (test), 7z.exe in a subdirectory
(call programs), and the file 01.txt in the main directory
(test).

I made: 7z a -tzip ..\01.zip ..\01.txt

And it saids:
Updating archive ..\01.zip
Compressing ..\01.txt
Everything is Ok

It mades 01.zip but empty, why??

Bye.
ongapisa@hotpop.com

Discussion

  • Igor Pavlov

    Igor Pavlov - 2003-02-20

    Logged In: YES
    user_id=65083

    01.zip is not empty.

    And don't use .. in path:
    cd ..
    7z a -tzip 01.zip 01.txt

     
  • Nobody/Anonymous

    Logged In: NO

    It's a good idea... put 7za.exe directory in the path... and not
    use ..\

    Thanks.

    Ongapisa@hotpop.com

     
  • Igor Pavlov

    Igor Pavlov - 2003-02-20

    Logged In: YES
    user_id=65083

    it's better to put 7-zip to some "util" directory (and add
    the "util" to PATH variable).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.