Re: System.getProperty

From: Christophe Vanfleteren (c.v4nfl3t3r3n_at_pandora.be)
Date: 12/11/03


Date: Thu, 11 Dec 2003 20:04:51 GMT

Minouche wrote:

> Hi. I am trying to get to my My Computer using System.getProperty().
> What string can I pass to get to that folder? ie.,if I use ("java.home")
> I get the contents of the java folder. If I use ("user.home") I get the
> contents of everything under my name.
>
> Thanks!!

Could you perhaps explain again what exactly you are trying to accomplish?
If you want to show the user a dialog that allows him to choose some file
on the system, you can use a JFileChooser, that will list all the drives.

How exactly do you need to display those drives? And what exactly do you
need this list for? There might be a solution for your problem.

-- 
Kind regards,
Christophe Vanfleteren


Relevant Pages

  • Re: System.getProperty
    ... Minouche wrote: ... You'll be able to retrieve all the drives on your system that way. ... Kind regards, ...
    (comp.lang.java.help)
  • Re: Windows Startup floppy Disk ?
    ... What is it that you are trying to accomplish? ... experienced) that access to full Dos with CD-ROM and Drives support can help ... > Put a blank floppy disk in the A drive, go to My Computer, ...
    (microsoft.public.windowsxp.general)
  • Re: vinum troubles on 5.3
    ... The config I'm trying to accomplish is ... A root mirrored configuration isn't that straightforward, ... > I set the concat of drive all of drives C+D to be a volume makeshift, ... better off mirroring. ...
    (freebsd-stable)
  • RE: Unable to delete file from Sharepoint Server Library using VBA
    ... I am already questioning the feasibility of creating map drives ... "Barb Reinhardt" wrote: ... I want to accomplish this using VBA within the application workbook. ... This is my first project using Sharepoint Server, ...
    (microsoft.public.excel.programming)
  • Re: I/O short circuit protection?
    ... Is there any common practice way to accomplish this? ... I'm considering a 2.2k series resistor array "chip". ... avoid change of all drives at the same time. ...
    (comp.arch.fpga)