Jump to content
Sign in to follow this  

Creating bulk folders

Recommended Posts


don't know if this is achievable, but i want to create a folder in my documents for every account in our accounting system, with the folder name being their account code.

I can get a list of the account codes in excel or csv or any other format.

I wondered if there was a way to automate this process in AutoIT cos i don't really feel like creating 3500 folders manually.........!!!


Share this post

Link to post
Share on other sites

That is perfectly possible.

You need to have the account names read into an array - if you can get them in a text file with 1 account name/line that would be easier - but csv, xls ... will work too.

My example will be based on having them in a txt file, one account / line.

#include <File.au3>

Global $usrArray
_FileReadToArray("your file here", $usrArray)
For $i = 1 To $usrArray[0]
MsgBox(0, "OK", "All Done")

Test it first with a text file with only several account names. If you're happy - go for the full implementation.

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...