|Ok i'm kinda at a loss on this one guys. I'm trying to teach myself batch and vbscript for use at work. I ran into a problems. I have 2 reports that come out differently one (which I don't need) comes out consistently under 20KB and the other (which i'm needing) is over 100KB. I'm trying to figure out a way to either move or delete the file under 20KB so that I can grab the existing file (over 100KB) and automate the monarching of it. any help would be greatly appreciated. |
Everything works fine until that small report comes out then my script will pull in the wrong file.
The report that I need comes out in the morning however the small report comes out about 6:00 pm or so, the only 2 files that are in the folder in the morning are 1 full sized report that I monarch and one small one which can be deleted. I would like to do this in batch without having to create a separate scheduled task to go delete the file after 6:00 when it runs.