|
C:\Windows\System32\Forfiles.exe
-p "C:\inetpub\ftproot\SystemiJrnRcvrs"
-c "cmd /c del @FILE" -d -%AgeLimit% -m MASTER*
Note that the full path is in there.
If I run the batch file directly in a command window or just
double-click it in Windows explorer, it runs fine. If I try to run it
from the task scheduler (either by the time trigger or right-click
and Run) it failswith opcode 2.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.