All pastes #14860 Raw Edit

Unnamed

public text v1 · immutable
#14860 ·published 2005-06-17 13:56 UTC
rendered paste body
Ok so we got some folders like
C:\temp\Some.Folder.With.Zip.File.1-BLA
C:\temp\Some.Folder.With.Zip.File.2-BLA

Under C:\temp\Some.Folder.With.Zip.File.1-BLA we have the following:
C:\temp\Some.Folder.With.Zip.File.1-BLA\Zip.File.1.ZIP
C:\temp\Some.Folder.With.Zip.File.1-BLA\Zip.File.1.NFO

Under C:\temp\Some.Folder.With.Zip.File.2-BLA we have the following:
C:\temp\Some.Folder.With.Zip.File.1-BLA\Zip.File.2.ZIP
C:\temp\Some.Folder.With.Zip.File.1-BLA\Zip.File.2.NFO

Each of those ZIP files got a RAR file inside. And each of the RAR files
got the needed files.

So basically it looks like this:
C:\temp\Some.Folder.With.Zip.File.1-BLA >
C:\temp\Some.Folder.With.Zip.File.1-BLA\Zip.File.1.ZIP >
C:\temp\Some.Folder.With.Zip.File.1-BLA\Zip.File.1.ZIP\RAR.File.2.RAR >
C:\temp\Some.Folder.With.Zip.File.1-BLA\Zip.File.1.ZIP\RAR.File.2.RAR\Needed.file.1
C:\temp\Some.Folder.With.Zip.File.1-BLA\Zip.File.1.ZIP\RAR.File.2.RAR\Needed.file.2

WHAT'S NEEDED?

1) Each of the zip files should be extracted under it's own folder where
it is originally located.
2) The ZIP file should be deleted.
3) The RAR file should be extracted under same folder where it is.
4) The RAR file should be deleted.

Result:
C:\temp\Some.Folder.With.Zip.File.1-BLA\Needed.file.1
C:\temp\Some.Folder.With.Zip.File.1-BLA\Needed.file.2