hexagon logo

Create folder script

It used to be here.
Parents
  • First off, my compliments to chadjac... when it comes to Basic scripting, I'm not worthy to kiss your shoes. That being said...

    I "borrowed" this (by which I mean I shamelessly cut and pasted it) and it worked BEAUTIFULLY. I've been beating my head against the wall and taking pretty much any suggestions I could get in regard to another post utilizing another method that uses a much more complicated method to do what this script does, to no avail. I copied this in, adapted it to my file paths, and ran it, and it did exactly what I wanted it to do. But then I got greedy... I inserted the exact same script into a different program, tried to run it, and got a "OLE Automation method exception" on Line 20, which is the "Set objFile=objFSO.CreateFolder (strPath).
    Then I went back to the program that I had originally used it in where it had worked perfectly, and got the same error message.

    WTF?
Reply
  • First off, my compliments to chadjac... when it comes to Basic scripting, I'm not worthy to kiss your shoes. That being said...

    I "borrowed" this (by which I mean I shamelessly cut and pasted it) and it worked BEAUTIFULLY. I've been beating my head against the wall and taking pretty much any suggestions I could get in regard to another post utilizing another method that uses a much more complicated method to do what this script does, to no avail. I copied this in, adapted it to my file paths, and ran it, and it did exactly what I wanted it to do. But then I got greedy... I inserted the exact same script into a different program, tried to run it, and got a "OLE Automation method exception" on Line 20, which is the "Set objFile=objFSO.CreateFolder (strPath).
    Then I went back to the program that I had originally used it in where it had worked perfectly, and got the same error message.

    WTF?
Children