topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 23, 2024, 10:20 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rookie1 [ switch to compact view ]

Pages: [1]
1
Code:
cd test && 7z.exe a -tzip ..\test.zip -r .\*

worked great, Jippie I'm very happy now. :-D
But how do I specify where the 7za.exe file is located?

cd test && prog\7za.exe a -t7z ..\test\ -r .\*         is not working

edit: Good cd test && ..\prog\7za.exe a -t7z ..\test -r .\* Good   WORKS!!

the script must be used on a system where maybe there's no 7zip installed
In the mean time I'll keep searching, you already helped me a lot

Thanx Again



2
thank u SirSmiley, lanux128 and Ewemoa

im new to this and it is the last step of a larger  (fist time) script i am making

first it unpacks a 7z file in a folder, than it removes some files en than replace some files.

and than sould be packet again as it was.(a .cab would be fine to)

with Your information above i must get it write :-) i am going to work on it!

 i must stil be doing something wrong....

Kind regards

3
I'm sorry, I've tried it several ways whith your code but no luck...

Would it help if it is also fine when it's done whith makecab?

If they are all being cabbed together, it would be great to.

set cab=C:\prog\makecab
:cab_all_files
pause
%cab% /f C:\all_files\* c:\all_files.cab    (could not find file c:\all_files\*   or    *.*)
pause

Thank you for you're help

4
Thank you, I tried it but that doesn't seem to work.

I forgot to tell: there are also some folders inside the "all_files\" folder that must be packed with the 50 files together.

5
Hello,

I've been trying to compress all the files in a particular folder via command line.
There are about 50 files in the folder, I would like all the files from that folder to be compressed in to one 7zip, but without the folder.
As in, if you decompress it on your desktop, you would have a mess :). That's what I'm looking for.
So far I've come up with:

code:
7za.exe a all_files.7z all_files\*

But if I do it like this, it will include the folder, so I get a compressed folder and not 50 seperate files that are being compressed.

I've been looking all over, but couldn't find anything about this. Help would be much appreciated.

Kind regards,

Pages: [1]