Show Local Disks only

Author: hugo.garcia@virtualage.com.br (hugogarcia)

Hello, I'm using Uniface Anywhere and I want to know only the local disks from the client. Using the command "filebox" it shows all disks, including the ones from the server. Is it possible to know which one is a local disk or show only the local disks?

3 Comments

  1. Hi Hugo, Hiding Host Drives Microsoft's Group Policy Objects lets you hide specific host drives. For instructions, see http://support.microsoft.com/kb/231289. To hide host drives, the Apply Group Policy option must be enabled in the Cluster Manager’s Host Options dialog. Regards, Nico


    Author: Nico Peereboom (nico.peereboom@uniface.com)
  2. I would suggest playing with WMI. A query to get you started is "SELECT * FROM WIN32_DiskDrive" which would return all of the information for all of the disk drives in your system. For example the PNPDeviceID field should start with USBSTOR for any USB drives. Check MSDN for what fields return. HTH Best Regards Claudio


    Author: Claudio (claudio.palladini@cortislentini.it)
  3. ... but I think the original request is how to limit the uniface "filebox" function to local disks only ?? So we are talking about reimplementing a filebox dialog with the means of standard uniface language (aka a form).


    Author: ulrich-merkel (ulrichmerkel@web.de)