Script to unzip a file

Dos / Dos
September 15, 2009 at 06:54:20
Specs: Windows XP
Requirement Details:
--------------------
PART ONE:
---------
I need a Windows script that helps me in unzipping the files:
NEW.PROD.RW9210M.CLI561.WK0933.DELTAIND.001.GZ
NEW.PROD.RW9305A.WK0933.LINK019.PRACTICE.001.GZ
NEW.PROD.RW9305B.WK0933.LINK019.AMAPROF.001.GZ
NEW.PROD.RW9305C.WK0933.LINK019.DRSTATUS.001.GZ
NEW.PROD.RW9305D.WK0933.LINK019.SRCESUPP.001.GZ
and post unzip activity the contents have to be loaded to a different folder/directory named 'Src_Folder'.

After unzip the file looks like the following:
NEW.PROD.RW9210M.CLI561.WK0933.DELTAIND.001
NEW.PROD.RW9305A.WK0933.LINK019.PRACTICE.001
NEW.PROD.RW9305B.WK0933.LINK019.AMAPROF.001
NEW.PROD.RW9305C.WK0933.LINK019.DRSTATUS.001
NEW.PROD.RW9305D.WK0933.LINK019.SRCESUPP.001

PART TWO:
---------
The script should also simultaneously take this file names after unzipping and load the file name to another file.
For example:
After unzipping the file NEW.PROD.RW9210M.CLI561.WK0933.DELTAIND.001.GZ in to a folder named 'Src_Folder' we have to read the filename (say NEW.PROD.RW9210M.CLI561.WK0933.DELTAIND.001) from the 'Src_Folder' and overwrite the same in to another file in the same folder src_file_list_DELTAIND.lst. So finally when we look at the contents of the file src_file_list_DELTAIND.lst in the Src_Folder it should be NEW.PROD.RW9210M.CLI561.WK0933.DELTAIND.001.


See More: Script to unzip a file

Report •


#1
September 15, 2009 at 16:25:17
TRy posting this in the Programmers forum on the right... you may have more luck there.

http://ewen.uuuq.com/


Report •
Related Solutions


Ask Question