Re: How to delet unwanted files and folders

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Which part are you stuck on? How do delete a file? How to delete a folder?
How to tell if a file name or a folder name contains certain text? How to
recursively traverse the file system?

Ray at home

"w123" <kerr.tung@xxxxxxxxxx> wrote in message
news:1121114734.575302.223960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi Group,
>
> I'm new to VBS. I'd appreciate if you give me some pointers to achieve
> the following:
>
> Search a folder recursively to delete all the files and folders NOT
> named *.adb.
>
> Thanks,
> Kerr
>


.



Relevant Pages

  • Re: how to traverse a directory structure?
    ... Here's some code that will recursively traverse a folder for you, ... using the dreaded FileSystem object! ... new to programming and I'm basically having to learn VB on the job due ...
    (microsoft.public.vb.general.discussion)
  • Re: Read-only problem!
    ... >back on again after I closed the properties window. ... Every file on my hard drive seems to be stuck in ... Unable to remove Read-Only attribute from folder ... Prev by Date: ...
    (microsoft.public.windowsxp.general)
  • Re: Spooler Service on XP workstation uses 100% CPU all the time
    ... jobs are occasionally getting stuck. ... See if there are any print jobs stuck in the queue. ... go back to the Printers folder and click on ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Cant delete a defective e-mail message
    ... you want to keep into another folder and then delete the folder the "stuck" ... Wrote that way back when I first tried the Vista "upgrade" that I received ... with Windows Mail not running: ...
    (microsoft.public.windows.vista.mail)
  • Re: Stubborn email wont delete
    ... you want to keep into another folder and then delete the folder the "stuck" ... Wrote that way back when I first tried the Vista "upgrade" that I received ... with Windows Mail not running: ...
    (microsoft.public.windows.vista.mail)