Help required in DOS to perform a set of tasks

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
subbujk
Posts: 3
Joined: 05 Sep 2009 09:48

Help required in DOS to perform a set of tasks

#1 Post by subbujk » 06 Sep 2009 08:49

Hi ,

I have a set of folders say under C:\ drive

IMS20661_AT_XTS_200905_10.zip
IMS20256_GB_XTS_200906_4.zip
IMS10151_IE_XTS_200906_2.zip
etc

all of which are zipped.Each folder has a file called GEO.txt in it.The task to be performed are

1)unzip the folders
2)After they are unzipped the folders are listed or sorted by date
3)The path of GEO.txt has to be pasted in a separate .txt file File_List_GEO.txt i.e File_List_GEO.txt has to consist

C:\IMS20661_AT_XTS_200905_10\GEO.txt
C:\IMS20256_GB_XTS_200906_4\GEO.txt
C:\IMS10151_IE_XTS_200906_2\GEO.txt

After which all the folders are archived

Please help me to write a script in DOS.As i very much new to writing batch files


Thanks
Subbu

Post Reply