Hi! 18-Мар-2005 19:00 [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote to freedos-user@lists.sourceforge.net:
kn> 2. The MS-DOS syntax kn> if condition ( kn> ... kn> ) This is not MS-DOS syntax, this is NDOS/4DOS syntax. In MS-command.com "if" is always one-line thing, and, BTW, I not seen documentation, which specifies, how redirection in this line works in case of false condition. kn> I want to do this booting from a CD, so it appears I CAN'T use a kn> pipe (|) since that appears to need a file on the boot device. Piping in DOS always creates temporary files and, in fact, "prog1|prog2" equal to: prog1 > tempfile prog2 < tempfile del tempfile This is because DOS isn't multitasking system, as *ix, from where piping was cloned. If you wish to run piping from readonly media, you should be sure, that TEMP environment variable pointes to some write-enable drive/directory. kn> I may have to break down and use something other than tdsk kn> so I can get the drive letter... I prefer xmsdsk, which solves issues with searching, because it allows to specifiy drive letter. Very convenient. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user