is there any way to determine if there is a disk inserted in a drive( or is it a port ) [sorry for my poor english terms] like in E: or F:, etc.
i tried doing
to test if i can create a file in a disk inserted in E:Code:FILE *fp; fp = fopen( "E:\\text.dbf", "w" ); if( fp = NULL );