You're right, you could. My head is in a strange place today. Yes,
Kill "C/Windows/Temporary Internet Files/*.*"
.. should work fine. A few notes:
- You do need to specify the file names (hence the "*.*"

.
- Kill is a statement, not a function, so you don't use parentheses.
- Be sure to use the Dir command to check that the directory exists, before trying to kill everything in it.
- At least in Win98, the Temp directory doesn't contain temporary internet files, the "Temporary Internet Files" directory does.
If you still want to play with the above code, the out of range error is probably due to the array not having any defined range. In order to get around that, you would use the ReDim statement to give the array an upper limit.
Hope that helps! Katie
Hi! I'm currently studying the COM+ programming model. Hopefully YOU'RE having fun, which would make one of us..