How to hide files from Windows...on Mac OS X?

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.


Solution 1:

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.