(imported topic written by gdelacruz91)
Hello,
I am trying to modify contents of an “ini” file. Based on postings I’ve read from this forum, here’s the commands I’ve created do far:
parameter “filename” = “{pathname of file (“C:\Program Files\Cisco Systems\VPN Client\vpnclient.ini”) whose (exists lines whose (it contains “RunAtLogon=1”)of it )}”
parameter “textToReplace” = “RunAtLogon=1”
parameter “newText” = “RunAtLogon=0”
Here’s the Action Script Results:
Completed parameter “filename” = “{pathname of file (“C:\Program Files\Cisco Systems\VPN Client\vpnclient.ini”) whose (exists lines whose (it contains “RunAtLogon=1”)of it )}”
Completed parameter “textToReplace” = “RunAtLogon=1”
Completed parameter “newText” = “RunAtLogon=0”
Unfortunately, the content modification is still not working. Essentially, I’m trying to modify from “RunAtLogon=1” to “RunAtLogon=0”. What can be wrong?