search hard drive for file, if not found create..
Posted on 2009-04-06
I need some code that will allow me to search a local drive for a file, and if it does not exist to create it using FileSystemObject. I then need to use FileSystemObject or Getfile to toggle the attribute of the file (meaning that if it IS set to 'read only', set it anything BUT 'read only, and if it is NOT 'read-only, it must be set TO 'read-only'.
it is important as my boss requires this to be in vbs script and using the filesystemobject