madbull Posted December 31, 2007 Posted December 31, 2007 (edited) I know that the below command is one way of deleting multiple files:pushd %TEMP%del popdI was wondering if there was a (similar) way to EXPAND multiple files instead of having to use multiple lines etc and to save a little bit of time perhaps.Thanks in advance, Edited January 11, 2008 by Yzöwl pushd location changed for safety's sake
gunsmokingman Posted December 31, 2007 Posted December 31, 2007 Maybe something like this@Echo OffCLSColor F9Mode 75,9Set Dir=%CD%for %%i in ("%Dir%\*.*") do EXPAND *.*_ /RI also made a HTA that does both Makecab and Expand Files.MakeCabThread
Kelsenellenelvian Posted January 11, 2008 Posted January 11, 2008 WAIT I got it for you here.....This will expand ALL cabbbed files in the archive then DELETE all cabbed files..WARNING does take a loooooooooong a** time to expand a whole i386 dir. Sorry does not show any progress bar or anything it just does its job.(To use simply place in the same dir as the cabbed files and run, then sit and wait for a minute)
darkon11 Posted January 31, 2008 Posted January 31, 2008 Microsoft ® File Expansion Utility Version 5.2.3790.1830Copyright © Microsoft Corporation. All rights reserved.Expands one or more compressed files.EXPAND [-r] Source DestinationEXPAND -r Source [Destination]EXPAND -D Source.cab [-F:Files]EXPAND Source.cab -F:Files Destination -r Rename expanded files. -D Display list of files in source. Source Source file specification. Wildcards may be used. -F:Files Name of files to expand from a .CAB. Destination Destination file | path specification. Destination may be a directory. If Source is multiple files and -r is not specified, Destination must be a directory.As you can see you can use wildcards. If you don't rename use a different folder.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now