Jump to content
Sign in to follow this  
Sfx

Looking for help. with "DirCreate" command.

Recommended Posts

Sfx

Hello, I'm new to the forums and i have a question about the "DirCreate" command.

I want to know if it would be possible to make Autoit create multiple folders ( i know how to make them continue until a specified amount.) , and randomly assign each folder either a name/ or a number.

Any help, or similar commands with this ability exist please feel free to share with me please. :P

Share this post


Link to post
Share on other sites
picea892

Certainly can do that

Should be pretty easy using a for next. Something like

for $i=1 to 10

DirCreate("c:\Folder"&$i)

Next

I'd normally try it out before I post but don't want 10 folders in my c: I have to delete. You should take a look in the help file.

good luck

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.