> I googled "Windows determine file type" (sans quotes) and got any number of > interesting looking responses. So there may be something out there that is > "lighter" than cygwin. The first entry is > http://gnuwin32.sourceforge.net/packages/file.htm which really does look > promising as, apart from anything else, its free and from Sourceforge, > always a good sign IMHO. >
So Windows really only relies on filename extensions? What about improperly named files? Malicious files? That seems... irresponsible / frustrating. If the OP wants to send to me the files in private mail I will examine them. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü