-jay January 26, 2011 at 18:57:18 Specs: Windows XP, 3ghz/3gig
question. trying to make a batch. help would be appreciated.
1. i have a text file with many folder names , this file is in c:\ 2. need batch on desktop 3. batch should scan shared drive for all folders over 2 gig in size 4. if bigger zip the folder using 7zip and move to another shared drive 5. once folder is zipped and moved, delete the old folder.
FOR /f "tokens=*" %%a IN ("P:\a\t\h\List.txt") DO (
FOR /d %%A IN (%%a) DO (
IF "%%~zA" GEQ "2147483648" (
ECHO 7zip Command and syntax
ECHO RD /s /q %%A
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.