http://www.ousob.com --- Legacy Redefined #include <stdio.h> #include <dos.h> #include <extend50.h> CLIPPER b_drive() { char *drive = " ABCDEFGHIJKLMNOPQRSTUVWXYZ"; unsigned drive_id; char ret_buf[3]; _dos_getdrive(&drive_id); sprintf(ret_buf,"%c:%c",drive[drive_id],NULL); _retc(ret_buf); }