Sign in to follow this  
Followers 0
parkerbl

Really simple question...

2 posts in this topic

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.

Share this post


Link to post
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
Sign in to follow this  
Followers 0