Hi! BTW, for checking target drive validness I add next code (where `drive' is a drive letter):
______________O\_/_________________________________\_/O______________ { static char src [] = " :\\", dst [SYS_MAXPATH] /*= ""*/; src [0] = drive; truename (dst, src); if (dst [0] = '\0') { printf (PGM ": invalid target drive: %c:\n", drive); exit(1); } if (stricmp (dst, src)) { printf (PGM ": SUBSTed and networked drives are not accepted!\n"); exit(1); } } _____________________________________________________________________ O/~\ /~\O ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel