GGG111 Posted November 6, 2008 Posted November 6, 2008 Hello I want to write a script with parameters, So I can run separate function from one application for example: Application to change files attributes, It runs like this: attrib.exe -s make file as system file attrib.exe -h make file as hidden file and so on how can I do that Thanks in advance
dbzfanatic Posted November 6, 2008 Posted November 6, 2008 You obviously didn't read the helpfile. $cmdline and $cmdlineraw Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
Valuater Posted November 6, 2008 Posted November 6, 2008 Maybe...Function FileSetAttribSets the attributes of one or more files. FileSetAttrib ( "file pattern", "+-RASHNOT" [, recurse] )8)
dillonlim Posted November 6, 2008 Posted November 6, 2008 HelloI want to write a script with parameters, So I can run separate function from one applicationfor example:Application to change files attributes, It runs like this:attrib.exe -s make file as system fileattrib.exe -h make file as hidden fileand so onhow can I do thatThanks in advanceTake a look at AutoIt help topic "Running Scripts". There's a section called "Command Line Parameters". I believe that's what you're looking for.
GGG111 Posted November 6, 2008 Author Posted November 6, 2008 I read it before, but I thought It's for autoit3 not to my scripts Any way, Thanks
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