jslegers Posted September 17, 2007 Share Posted September 17, 2007 Hello,I have found this script :@echo Offtitle MakeCab all files in current directoryFOR %%L IN (*.*) DO makecab %%L /L /D CompressionType=LZX /D CompressionMemory=21 ".\Cab"exitIt makes al files named name.dl_ and so on.How can I make this run also in subdirectories ? Link to comment Share on other sites More sharing options...
phkninja Posted September 17, 2007 Share Posted September 17, 2007 dont know if this will work, its just a thought@echo Offtitle MakeCab all files in current directoryFOR %%L IN (DIR /S /B *.*) DO makecab %%L /L /D CompressionType=LZX /D CompressionMemory=21 ".\Cab"exit Link to comment Share on other sites More sharing options...
jslegers Posted September 20, 2007 Author Share Posted September 20, 2007 Hi,I have tried this but it doesn't work. I get an ERROR: Location missing error. Link to comment Share on other sites More sharing options...
Yzöwl Posted September 20, 2007 Share Posted September 20, 2007 That's because the code supplied was wrong.Could you please explain exactly what you want to do.Examples:cab all files individually in a directory and all it's subdirectories, placing the cabbed versions in their original locations cab all files individually in a directory and all it's subdirectories, placing the cabbed versions in their original locations but overwriting the originalscab all files individually in a directory and all it's subdirectories, placing the cabbed versions into a single specified locationcreate a cab archive containing all files in a directory and all its subdirectoriescreate a cab archive containing all files in a directory and all its subdirectories maintaining the tree structurenone of the above (please specify) Link to comment Share on other sites More sharing options...
phkninja Posted September 20, 2007 Share Posted September 20, 2007 Sorry was totally asleep when i typed the above.As Yzowl has stated you need to be more specific on what you are looking for Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now