up vote 2 down vote favorite
share [g+] share [fb]

I have created a FAT disk image using Disk Utility and added files to it. I would like to hide some of these files from Windows. Is there a way to do this from OS X?

What I'm looking for is basically a Mac equivalent of attrib: a tool to set the Windows hidden attribute. Note that SetFile will NOT work, as it hides files from OS X, not Windows.

link|improve this question
2  
This belongs on superuser.com. Try your luck there. – Randolpho Aug 12 '09 at 19:59
feedback

migrated from stackoverflow.com Aug 13 '09 at 3:34

This question came from our site for professional and enthusiast programmers.

1 Answer

Some 'chmod' implementations allow the changing of MS-DOS permissions.

EDIT: You can use DOSBOX to mount a volume in OS X to a directory, which may allow you to use the attrib command.

EDIT2: The Tcl 'file' command might work from the command-line too.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown