-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/5/11 12:16 AM, kiran kumar wrote: > Hi All, > > I need to run this ln -s /Applications/test.app ~/Desktop/ command for > every boot on Mac OS 10.6. > Please can any one suggest me how to do this .
1) This has nothing to do with Cocoa. 2) Symlinking at every boot between two fixed paths seems really unusual (unless ~/Desktop is getting wiped every time for some reason). It should also be noted that ~ doesn't mean a whole lot at boot time since it is determined by the logged-in user. My first guess is that you are using autologin to a guest account of some sort that does not persist files, in which case there are likely better ways to accomplish whatever result is intended from your question. 3) If you are interested in the general topic of automated execution, Google "login items" (for an easy user-configurable method) or "launchd" (OS X's full-featured Swiss army knife of automated execution, roughly a replacement for the System V init/cron scripts and more). - -- Conrad Shultz Synthetiq Solutions www.synthetiqsolutions.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6MEeYACgkQaOlrz5+0JdWRkgCdFYLARGwbGAHkf3hWhWLcpxAg 1igAn1ULFrirdhH8lfb8hpnwo2bKTvlQ =bfv3 -----END PGP SIGNATURE----- _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com