DOS cmd programming

Discussion in 'Software' started by bmahler, Jun 13, 2005.

  1. bmahler

    bmahler Private E-2

    I need to create a automatic process (cmd file maybe?) to delete files in a specific directory that are older than a certain date (created, modified, or accessed date, any will do.).

    I was trying to do this in a cmd file but did not find anything to look thru the various date information.

    Any suggestions?

    Thanks,
    Brian
     
  2. iamien

    iamien Cptn "Eh!"

    Well
    i'm a C++ guy so
    Look up this stuff
    Using windows to obtain the required information <windows.h> MsDN
    The "Recursive Directory Search" would be a standard algo to browse directories
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds