Re: [Freedos-user] Detect ramdrives Fwd: [basic-es] Hola, una pregunta
This is a question originally sent on a spanish list about BASIC, but is more a DOS question, so I translate here... Writing a DOS app on qbasic or quickbasic to check the disk units on the PC (floppy, HD, CD...) Can check to first CD unit, later if exist a ramdisk how to check if the unit is a real disk or a ram virtual disk? i use FINDRAMD.EXE from this site: http://www-user.tu-chemnitz.de/~heha/hs_freeware/freew.html source code included. It's rather unreliable because it only checks whether there's just one FAT on the drive. However, that _is_ the most reliable method of detecting a RAM disk because there's nothing else different RAM disks have in common. Expect that some non-RAM disks might also be detected this way. Obtaining the drive letter from the RAM disk's driver or asking the user is the only certain way. Regards, Christian -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] Detect ramdrives Fwd: [basic-es] Hola, una pregunta
This is a question originally sent on a spanish list about BASIC, but is more a DOS question, so I translate here... Writing a DOS app on qbasic or quickbasic to check the disk units on the PC (floppy, HD, CD...) Can check to first CD unit, later if exist a ramdisk how to check if the unit is a real disk or a ram virtual disk? -- Forwarded message -- From: Vizzio Costa Date: Thu, 16 Apr 2009 21:07:56 - Subject: [basic-es] Hola, una pregunta To: basic...@gruposyahoo.com estoy en esto de la programación en Basic y me he encontrado en el siguiente caso: Desarrollo una aplicación para msdos en qbasic o en quick basic que me permita determinar las unidades de la pc (CD, Disketera, HD,...), y solamente puedo determinar la primera unidad de CD, luego de eso si corresponde una ramdrive, también le asigna unidad de CD, sabe alguien como hacerlo? Muchas gracias. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Detect ramdrives Fwd: [basic-es] Hola, una pregunta
--- On Thu, 4/16/09, Marco Antonio Achury Palma marcoach...@gmail.com wrote: This is a question originally sent on a spanish list about BASIC, but is more a DOS question, so I translate here... Writing a DOS app on qbasic or quickbasic to check the disk units on the PC (floppy, HD, CD...) Can check to first CD unit, later if exist a ramdisk how to check if the unit is a real disk or a ram virtual disk? i use FINDRAMD.EXE from this site: http://www-user.tu-chemnitz.de/~heha/hs_freeware/freew.html source code included. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user