[<<]Message[>>]    [<<]Author[>>]        Subject[>>]        Thread[>>]

Number : 4399 Date : 2003-04-21 Author : dcohn99 Subject : Date Macro Size(KB) : 1
Yan - I need some help (or anyone that has a clue). I am using the Data Macro to create directory names while copying files. It happens to be that the application we are copying files using the following format for the folder names. 4-21-03 or 11-22-03 etc. The key issue here is the padded zeros that XXcopy performs. Basically I need to grab files from a folder that gets cleaned out daily. In the pass we simply copied the files from the folders the system had created that were already named 4-21-03. XXCopy would simply copy the folders completely and I had no problems. But it seems the files are not the same quaility (digital images) as the files in the initial folder that is cleaned out daily and does not have the directory structure. Here is a sample of what we are doing. xxcopy sourcedir t:\/$mm-dd-yy$ /tm-1 blah blah blah As you see the folder I create is based on the current date minus 1 day. This is perfect. EXCEPT for the PADDED ZEROES. This is because we also copy the directories that the system creates. Those folders are in the format 4-2-03. Therefore if I have no way to remove those padded zeroes I end up getting duplicate files. Any ideas on how to fix this issue. Renaming the directories is not a choice as all of this is automated and we cannot babysit the process. Thanks Doug
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.