Search found 2 matches
- 18 May 2017 07:47
- Forum: DOS Batch Forum
- Topic: Trouble calling DeleteIfOld as a function
- Replies: 2
- Views: 1961
Re: Trouble calling DeleteIfOld as a function
Problem solved. Works perfectly. Thanks much!
- 17 May 2017 05:13
- Forum: DOS Batch Forum
- Topic: Trouble calling DeleteIfOld as a function
- Replies: 2
- Views: 1961
Trouble calling DeleteIfOld as a function
How do I delete all files older than 15 days in a folder and it's subfolders? I get 'DeleteIfOld is not recognized...' error from the file below. What Am I Doing Wrong? @echo off SETLOCAL ENABLEEXTENSIONS SETLOCAL ENABLEDELAYEDEXPANSION call:jdate tnow "%%date%%" FOR /R %%F IN (*.bmp) DO (...