May 6, 2002 #1 vfpshe Programmer Jan 2, 2001 24 US Hello, I need help in getting the CD-ROM drive letter assignment from a local machine. Is there a command that does this? Will really appreciate ur input.. Thanks.
Hello, I need help in getting the CD-ROM drive letter assignment from a local machine. Is there a command that does this? Will really appreciate ur input.. Thanks.
May 6, 2002 #2 Mike Gagnon Programmer Apr 6, 2002 8,067 CA In the FoxTools.fll there is a function called DriveType() SET LIBRARY TO FOXTOOLS.FLL ADDITIVE nType1 = DRIVETYPE(C) nType2 = DRIVETYPE(D) nType3 = DRIVETYPE(E) nType4 = DRIVETYPE(F) For a CD-ROM the nType would equal = 5 0 No type 2 Floppy disk 3 Hard disk 4 Removable drive or network drive 5 CD-ROM 6 RAM disk(1) Upvote 0 Downvote
In the FoxTools.fll there is a function called DriveType() SET LIBRARY TO FOXTOOLS.FLL ADDITIVE nType1 = DRIVETYPE(C) nType2 = DRIVETYPE(D) nType3 = DRIVETYPE(E) nType4 = DRIVETYPE(F) For a CD-ROM the nType would equal = 5 0 No type 2 Floppy disk 3 Hard disk 4 Removable drive or network drive 5 CD-ROM 6 RAM disk(1)
May 6, 2002 #3 dgrewe MIS Dec 1, 1999 1,285 US If you want to use WinApi http://ibs.internationalbid.net/home/dave/code_html/disktype.html David W. Grewe Dave@internationalbid.com Upvote 0 Downvote
If you want to use WinApi http://ibs.internationalbid.net/home/dave/code_html/disktype.html David W. Grewe Dave@internationalbid.com