Development of Windows Command prompt application to delete files and or folders based upon dat range parameters.
1) Command prompt application in VB, C+, C- etc.
2) Windows platforms 2000, 2003, 2008, XP, Vista .
2) Purpose, to delete/manage temporary archive files in specified folder..
3) Example:
- Our application leaves historic *.WAV files on the Server.
- We need scheduled application to delete *.wav files older then n days.
## Deliverables
**REQUIREMENTS:**
1) Application name = [login to view URL]
2) Interface: Command prompt running application from scheduled batch file.
3) When enabled, executable will delete specified files based upon date parameter (older [login to view URL], example 30 days) and other parameters.
4) Parameters:
A) /Target = Interface should allow specification of target folder.
Example:
- c:\pacs\temp
- g:\wavfiles
- f:\tempfiles
B) /FILEFOLD = Should have parameter to specify, Files only,Files and folder, sub-directory files and folders.
C) Inclusion and Exclusion:
By default all files/folders would be deleted.
- /Inclusion: Application should be able to specify file names or file extensions for ONLY files to be deleted.
- /Exclusion: Application should be able to specify filenames or file extensions for files NOT to be deleted.
D) If running from batch file security issue is controlled by Scheduler
5) /Log=on or off
- Off = default
- Log "On" captures simple statement of parameters that was run, line beginning with date.
- Log file should be cumulative to one single standard file name ergo [login to view URL]