September 17, 200718 yr 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 ?
September 17, 200718 yr 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
September 20, 200718 yr Author Hi,I have tried this but it doesn't work. I get an ERROR: Location missing error.
September 20, 200718 yr 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)
September 20, 200718 yr 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
Create an account or sign in to comment