mohammadezazi Posted August 5, 2013 Posted August 5, 2013 (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 August 5, 2013 by mohammadezazi
JohnOne Posted August 5, 2013 Posted August 5, 2013 (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 August 5, 2013 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
mohammadezazi Posted August 5, 2013 Author Posted August 5, 2013 (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 August 6, 2013 by mohammadezazi
mohammadezazi Posted August 5, 2013 Author Posted August 5, 2013 Thank you very much. My problem resolved.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now