Jump to content

Recommended Posts

Posted

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?

Thanks

Posted (edited)

You can use the "DirCreate"-Command.

Example:

Global $InstallPath

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

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

DirCreate($InstallPath)

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

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
  • Recently Browsing   0 members

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