Jump to content

Expanding Multiple Files?


madbull

Recommended Posts

I know that the below command is one way of deleting multiple files:

pushd %TEMP%

del

popd

I 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 by Yzöwl
pushd location changed for safety's sake
Link to comment
Share on other sites


  • 2 weeks later...

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. :P

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)

Link to comment
Share on other sites

  • 3 weeks later...

Microsoft ® File Expansion Utility Version 5.2.3790.1830

Copyright © Microsoft Corporation. All rights reserved.

Expands one or more compressed files.

EXPAND [-r] Source Destination

EXPAND -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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...