Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Batch file suggestions?
Message
From
25/05/2006 20:12:01
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01125021
Message ID:
01125123
Views:
19
>Al,
>
>pseudocode
>
>
>dir lpt$vpn.* /oe /b >delfilelist.bat
>some old dos command that will delete the last line of the file
>another old command that would preface each line with erase
>delfilelist.bat
>
>
>You might also be able to set up a disk management policy on that folder to delete files older than a week.

Thanks for the suggestion! Combining your and Naoto's ideas, it turns out this can be done in as few as 2 lines of code, 8 when nicely parameterized w/cleanup etc.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform