[Coco] UnTC for Windows [...] -- a possible addition to the Toolshed?

William Astle lost at l-w.ca
Sun May 30 16:38:58 EDT 2010


On 10-05-30 12:31 PM, Christian Lesage wrote:
> On 2010-05-30 13:31, Steven Hirsch wrote:
>> On Sun, 30 May 2010, Christian Lesage wrote:
>>
>>> I've uploaded a new version. The program now renames files with names
>>> that are forbidden under Windows (e.g. COM1, LPT1, etc.). The C
>>> source is now included.
>>>
>>> http://agora.ulaval.ca/~chles35/index.html
>>
>> Built on Linux with no problems.
>
> As is? Then it should behave just like the OS-9 version. Please take a
> look at the code to see how I tried to improve file naming on Windows. I
> suppose this could be adapted to Linux fairly easily. All you need to
> know is what characters are forbidden in a file name, and what file
> names, if any, are forbidden.

Linux allows anything in a filename except "/" and NUL. Of course, 
underlying filesystems may have additional restrictions. "." and ".." 
are reserved for their usual purpose as well. Other than that, anything 
goes.


-- 
William Astle
lost at l-w.ca




More information about the Coco mailing list