Jump to content

Really simple question...


parkerbl
 Share

Recommended Posts

I know that this is kind of a simple stupid question, but I have tried everything to my knowledge and I have scanned and searched through the forum for an appropriate answer, and I haven't found anything that can answer my question. I was wondering how I could create a simple loop to create a folder each time it goes through, incrementing the name of the new folder each time. An example would be like:

For $i=0 to 10 Step 1

DirCreate(""C:\Documents and Settings\" & @UserName & "\Desktop\test **Here is where I need the new folder created."

Next

So resulting on the Desktop I would like a folder starting at test0, test1, test2, test3, etc...all the way to 10. Anybodies help would be greatly appreciated. Thanks again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...