Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: bill
i'd like to recursively search through a folder and subfolders and delete all html files.
this should run on scheduler every morning for instance.
i am used to *nix (using cron and find) - is there a windows equivalent? (i run winxp pro)
Start > Control Panel > Scheduled Tasks > Add Scheduled Taskwhere you could setup your own DEL (ERASE) command. I believe the syntax might be
DEL /S C:/PATH/TO/BASEDIR/*.htmlSince a directory is specified, all files matching the wildcard in the directory should be deleted and the /S switch says to delete specified files from all subdirectories. You'll have to test this as my DOS programming is getting weak ;-)
Here's some info on how to use batch files on XP from Microsoft: Using batch files [microsoft.com].
joined:Nov 11, 2000
Now, I'm not using batch files at all. It helps to be reminded that they're still viable, but that basic disk level is so well hidden that it's almost a stretch for me. Any other references besides that Microsoft page to get the juices flowing?
Any other references besides that Microsoft page to get the juices flowing?
The real theme for Vista is security. It's safer out of the box. The good thing is that I'm not seeing them take away the configurable parts like our pal the Command Line. As long as my batch files will still work I'm happy. ;)