Jump to content
Sign in to follow this  

? create new folder

Recommended Posts

I am an absolute beginner - so please excuse my ignorance..... I need to create a new folder named after the value passed along in the command line - so far I have been sort of able to get by with bringing up WinExplorer and starting to emulate keystrokes - but I am sure there is a much slicker way....... any pointers?


Share this post

Link to post
Share on other sites
Guest tygran

You can use the "DirCreate"-Command.


Global $InstallPath

$CmdLine[0] = 1 // one argument expected in the command line

$InstallPath = $CmdLine[1] // first argument is the directory you want to create


I hope I could help you - If you you want to know more about autoit, read the help file. Under "Function Reference\File, Directory and DiskManagement\" you can find the DirCreate command and related commands.

Download the help file under: http://www.autoitscript.com/autoit3/downloads.php

Regards, Tygran

Edited by tygran

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...