CompuServe Messages

Unzipping w/batch files

    14-Aug-93 14:51:47
Sb: Unzipping w/batch files
Fm: Larry Minton 74010,3076
To: Rick Miller 76170,3214
Rick: Some stuff I remember, other things I forget (like what day is today?). Let's see if I understand what you want to do. You want to have a set of TGA files in a .ZIP file. These .TGA files are sequentially numbered. On each call from video post, you want to delete the .tga last file pulled from the zip file, and pull the next numbered .tga file from the .zip file. You then exit and return to video post. Does that sound right? If not, give me a description of what you are trying to do. If the above is accurate, I can think of 2 easy paths. The first is to use 4dos instead of command.com. With 4dos, you can set up an environment variable specifying what file to start with when pulling .tga files from the zip file, use that environment variable to in specifying the .tga files to delete and pull from .zip file, and increment the counter. I've used 4dos for so long now I am not even sure what you can/can't do using command.com when in a secondary shell (which is where you would be coming out of video post). The 2nd easy path would to create a small basic/c/fortran/whatever program to do the above. Create a counter file before starting 3ds specifying what .tga file to start with, have the program read in that file, do the file delete and .zip extraction, and write out a new counter file for the next iteration. (Or if the counter file doesn't exist, have it ask you for which .tga file to start with on the first call from video post, and work from there). That's my thought for today! LAM