Hey guys. I have BootCamp configured and my HD is partitioned into two. In Leopard, I display the Hard disk icons on the desktop, but now I have the Windows hard disk too, which is annoying. I never use it and it's annoying. If I go to the finder settings and turn off the "display hard disk" setting, all my HD icons disappear, even the Macintosh HD one. How can I remove only one HD icon (the Windows HD)?
-
I think an Applescript in Account.Login Items should do it.
tell application "Finder"
if (exists the disk "volumeName") then (eject "volumeName")
end if
end tell -
Go into Windows, right click on your windows harddrive (under "Computer", most likely called "Local Disk C:"), goto Properties and enter a name in the top box, whatever name you want but make sure to put a dot ahead of the name, ie " .Windows" for example, without the " ", then click OK. Restart the computer now into OSX and the Windows HD should be gone.
-
Thanks, I'll try it.
-
-
-
-
#!/bin/sh
/usr/sbin/diskutil unmount /Volumes/Untitled/
How to remove one of two hard disk icons off desktop in Leopard
Discussion in 'Apple and Mac OS X' started by mike-d, Jun 15, 2009.