I tried with the below script to create the congif file, if its alredy present to overwrite the same,
but am not getting any result even though am not getting any errors, pls suggest.
I want the same in applescript as below.
property usr : "abce"
property pswd : "pwd"
do shell script "echo 'hello world' > /users/usernamr/desktop/mms.cfg" user name usr password pswd with administrator privileges
try this…
NOTE: I see in your other post that the file is in your application support folder. If you want the file there then use this line…