[tex-live] ifplatform: Detection of TeX Live on Windows

Alexander Cherepanov cherepan at mccme.ru
Tue Aug 25 15:45:14 CEST 2009

Hi T!
On Mon, 24 Aug 2009 22:20:22 +0100, T T <t34www at googlemail.com> wrote:

>> But all nul tricks don't work on ancient miktex+win98 (don't have
>> access to other windows right now).

> Have you tried it? 


> The nul device is as old as DOS itself, so I
> expected it to work pretty much on anything with DOS heritage. 

It works in shell but not in miktex.

> Can you try with:
>   \IfFileExists{nul:}{\typeout{windows}}{\typeout{unix}}

It says "unix":-)

> It works on my XP.

In miktex or in texlive?

BTW can you print something on your printer by \write'ing to prn? 
What's happening when you \read from con?

Alexander Cherepanov

More information about the tex-live mailing list