Jst need a simple delete .bkf file older 1w

Closed
sathish - May 4, 2011 at 11:53 PM
 Anonymous User - May 5, 2011 at 11:29 AM
Hello,

I need a simple batch file tat i can run to delete .bkf file in a folder and if its older than a week. i tried to run many scripts bt its not working... need help thanks alot
Related:

1 response

Anonymous User
May 5, 2011 at 03:24 AM
Hi,

Run in safe mode and try to delete it there.
0
Hi Sir,

I tried but not working even the forfiles.exe which i copied to c: ..is nt getting the effect.

forfiles.exe /p C:\Documents and Settings\nadarsat\Desktop\test\ /s /m *.txt* /d -07 /c "cmd /c del /q @path"

i save above script as .bat.

If you able to provide a sample i would really appreciate that. thanks
0
Anonymous User
May 5, 2011 at 04:23 AM
The tip I use when I want to delete a file on Windows which does not allow this is, I go to my Ubuntu system (a Linux operating system), I locate the file from there and I delete without any problems. It always worked for me.
The system I'm talking about is totally free, you can try without installing it.
You can download version version at this link, it is 687 Mb.
http://noncdn.releases.ubuntu.com/10.10/ubuntu-10.10-desktop-i386.iso

After download, I'll explain you steps to follow for delete that file.
0
Wel for your info..im using windows 2003 & 2008 server...
0
Anonymous User
May 5, 2011 at 05:23 AM
Ok, but can you download the file?
0
ok done i got it...next stp plz
0