Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find and Delete Text Documents
#1
Is it possible to find a text document in my C drive and delete it?

example:
(FIND a document that has three letters in the start of the name) "Com"
documents are in my program files....
"Com_Ghost1"
"Com_Ghost2"
and every text document that i would like to delete strats with "Com"

is it possible to find the documents that have the first three letters being "com" and to delete them to the recycle bin?

Thanks,
Best Regards
#2
floating toolbar, click on files, web
there u will see the delete files,


Dir d
foreach d "C:\Com*.txt" FE_Dir
,str s=d.FileName(1)
,out s
,del s


Forum Jump:


Users browsing this thread: 2 Guest(s)