|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi guys,
I am trying to create a script to delete files which are 30 days old. i dont seems to find the command which is able to pick up files which are 1 month old. any one can ? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
"Leezy" <leezy@mcsb.com> wrote in message news:uz4BygMMIHA.4752@TK2MSFTNGP05.phx.gbl... > Hi guys, > > I am trying to create a script to delete files which are 30 days old. > > i dont seems to find the command which is able to pick up files which are > 1 > month old. > > any one can ? > I assume you mean "delete files which are more than 29 days old", which is not quite the same as "delete files which are 30 days old". If so then you could use this single command line: xxcopy /rs /db#30 /ed /yy "d:\My Files\*.txt" d:\Temp\ You can download xxcopy.exe from a number of site. If you prefer to do it in VB Scripting, let's have a look at your code! |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
"Leezy" a écrit:
> I am trying to create a script to delete files which are 30 days old. > i dont seems to find the command which is able to pick up files which are > 1 > month old. > any one can ? Hello, See the script SupprTempFilesFolder.vbs in http://a.vouillon.online.fr/faq-winxp.htm#171A -- @:-) FAQ Windows XP ==> http://a.vouillon.online.fr/ |
|
![]() |
| Outils de la discussion | |
|
|