Sign in to follow this  
Followers 0
mohammadezazi

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

4 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Thanks. Ill check the $CMDLINE.

Ill use it in a batch file for triggering in MSSQL transactions.

and I want to the main network path would remain hidden.

Edited by mohammadezazi

Share this post


Link to post
Share on other sites

Thank you very much.

My problem resolved.

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  
Followers 0