It is useful - learning new stuff is always good and I'd never noticed that log parser can query a file system!
Originally Posted by Arthur
Could you not do something like this where you have a variable and an inputbox and get it to prompt for how long you want the path for and where drive='C:'" etc use the vbscript browse folder option
Originally Posted by srochford
VBScript Scripting Techniques: Browse Folder Dialog
That way you don't have to keep changing the Drive='C:'" etc it will just prompt for length and give you a browse window to browse and select where you want to scan