Jump to content

I want to have a customized MD (make directory) command


Recommended Posts

I want to have a customized MD (make directory) (DirCreate) command that when user runs it with a switch (or parameter), it would create a folder with that switch name, but at my specified path internaly defined in my exe file.

such this:

when I am running it : 

myMD.exe   /31590201       or       myMD.exe   /31590201  

a folder with name "31590201" must be created in "172.16.99.99share" path.

user just can see 31590201 and does not know where it is made. 

Edited by mohammadezazi
Link to comment
Share on other sites

look at $CMDLINE in help file to see how to access command line parameteres.

Use $path &= $CMDLINE[n] to add that folder, to the path.

EDIT:

As for hiding the path, it depends on how the user is viewing it, in explorer they only need to click address bar to se it.

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
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
 Share

  • Recently Browsing   0 members

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