[Casper] Delete com.adobe.mediabrowser.plist

Martin van Diemen martin-van-diemen at g-star.com
Wed Dec 31 01:58:23 PST 2008


Hi,

I want to delete the com.adobe.mediabrowser.plist (~/Library/Preferences/) for the user that's currently logging in. I tried to do this with a policy:
Search for file by path: ~/Library/Preferences/com.adobe.mediabrowser.plist and Delete if found.

This doesn't work because it can't find the file (cause it's using the casper account?).
Is this possible with a variable e.g. /Users/$1/Library/Preferences/com.adobe.mediabrowser.plist? $1 doesn't work.

If I use a script which variable tells me the login name of the user?

Thanks in advance.

Kind Regards,

Martin van Diemen

t +31(0) 205677744
__________________

G-Star International B.V.
www.g-star.com


More information about the Casper mailing list