How to get names of all hard disks?

Hi,
How to get names of all hard disks.
For example:
There are 3 disks in my computer: A, C,D (OS: Windows).
and then I want to know how many disks (3) and their names( A, C, D) are there?
Please give me some code sapmles. Thanks.
(---sorry, my English is not very well----)

Look at a few of these
http://onesearch.sun.com/search/developers/index.jsp?qt=%22hard+disk%22+label&qp=forum%3A31&qp_name=Java+Programming&col=devforums

Similar Messages

  • How to get names of all Windows in a Form Application at runtime

    Dear All,
    I want to get the name of all windows in a form module programatically at run time. How to get it?
    Any help or comments will be highly appreciated.
    Thanks in Advance.
    Best Regards
    Bilal

    Hi Francois Degrelle,
    First of all thanks for the response.
    What if I have no items on a content canvas? In my application, I am using content canvas to hold the Image banner and help text of the current form, having no items at all. I am also using tab canvases to hold all items of form. The tabs are displayed on the content canvas at run time. So the tab canvases acts like frames (In my case).
    Now if I am looping through items, it gives me the list of all of the tab canvases. Whereas the tab canvas always has no window assigned, as it is displayed on content canvas which has that Window which I need. Thus I am unable to get the names of windows in my case through the above stated procedure.
    Another option could be if I can get the name of the content canvas upon which the given tab canvas is displayed?
    Any way to do this or some other way to achieve the use case?
    Any help will be highly appreciated.
    Thanks in advance
    Bilal

  • How to get names of all used separations?

    Hi there
    How can I get the names of all used color-separations with javascipt?
    CMYK and used spot-colors.
    I want to place them into a textbox in illustrator (CS4) with a script.
    Does anybody can help me??
    thanks a million

    List of inks can be obtained from Document.inkList and iterate through each ink to find whether InkInfo.printingStatus is set to "ENABLEINK"
    here is the script
    mydoc = app.activeDocument;
    mydocTotalInkList = mydoc.inkList
    mydocUsedInkList = new Array ();
    j =0;
    for (i=0;i<mydocTotalInkList.length;i++)
        if(mydocTotalInkList[i].inkInfo.printingStatus=="InkPrintStatus.ENABLEINK")
           mydocUsedInkList[j] = mydocTotalInkList[i].name;
           j++;

  • How to get lost size of hard disk?

    hello. i have hp laptop. i have done shrinking partition process in computer management. while shrinking partition i lost hd size there is no new partition creat but before partition c: drive size was 277.47 gb and after it is total 71.2gb. when i right click on c: drive n click on properties this size,71.2gb appears. please solve this problem.

    By clicking on shrink  volume you have created free memory of almost 276gb
    you can add tha as a drive by
    right click on area showing free space of 270gb-->create new partition-->next-->press next till end and create a partion.
    Otherwise you can add that 270gb to your c drive for that do
    Right click on c drive(at disk management window)-->extend volume-->next-->till end of process
    Now you will get your previous C drive memory..
    Please click on the KUDOS STAR on the left of this post as a sign of thanks giving..

  • How to get names of sub tabs?

    Hi All,
    Could someone tell me how to get names of all sub tabs?
    I have Parent Tab T1. T1 has 3 sub tabs T1_1, T1_2 and T1_3.
    I would like to have T1_1, T1_2 and T1_3 sub tab names in the list.
    Thanks in advance!!
    Dip

    Dip,
    You can get the tab names from apex dictionary views, apex_application_tabs & apex_application_parent_tabs . Thanks.
    Regards,
    Manish

  • How to recover the recovery partition after delete all hard disk partitions

    hallo
    how to recover the recovery partition after delete all hard disk partitions in toshiba satellite pro c850-1fn ?
    note that : I did not work recovery disc or usb to my laptop.
    I have need of your help.

    Satellite Pro C850-1FN (PSCBXE-01700EEN)
    Restore the hard disk to its original out-of-the-box contents using Toshiba recovery media. All of the original partitions will be restored, including the recovery partition.
    If no recovery discs were created, you can obtain them from Toshiba.
       Toshiba Europe Backup Media Online Shop
    For instructions, see the section Restoring the pre-installed software from your created Recovery Media on p. 4-18 of the User's Manual (attached).
    -Jerry

  • Some MSI notebooks do not have all hard disk space assigned

    Follow the attached guide to allocate all hard disk space.

    tommyok wrote:
    I was loading some pictures onto my macbook and the photos did not load properly. I have around 4,200 current photos. There is 29 GB left on my hard drive. I can not see the last "event" of photos. Looking through preview I see some on my last photos and some are there but do not show up in iphoto. Now I am getting an error message that states I do not have enough disk space therefore the library is not saving. I am now locked out of downloading files from safari, or even itunes.
    I am lost as to what to do next. please send me in the right direction. thank you!
    Welcome to the Apple forums:
    Are you referring to the TimeMachine harddrive?
    If you are referring to your internal drive, you may get more information in the Leopard Install and Setup forum:
    http://discussions.apple.com/forum.jspa?forumID=1219
    In general you need to have at the very minimum, 10% or your HD free. Your drive may be completely full, depending on how large it is, which you don't say. The amount of freespace on an HD varies as the system swaps files on and off of it.
    Be sure you have everything backed up, just in case.

  • How to back up a external hard disk to time capsule?

    I have a external hard disk (WD passport Mac OS extended format)  connected to iMAC (OS X 10.9.3) through USB. How can I back up the hard disk to my time capsule (802.11ac 2TB)?

    By default, the name of the hard drive will appear on the list of Excluded items when you open System Preferences / Time Machine  / Options.
    Click on the name of the hard drive to highlight it, and then click on the - (minus) button at the bottom of the Exclusions list to remove the drive from the list of items that are Excluded on backups.
    Time Machine will back up both your Mac and the hard drive on the next pass.

  • Better way how to get list of all classpath URLs in runtime

    Hello everyone,
    How to get list of all classpath items (URLs) in runtime from Java code?
    I am aware of solution based on System.getProperty("java.class.path"). Is there any alternative?
    This solution has several drawbacks. You have to parse String output. And I not sure if it contains ALL resources (JARs, class directories) loaded by ClassLoader or just reflects -cp arguments.
    Does system property "java.class.path" contain ALL loaded JARs?
    Does it contain items (JARs, class directories) loaded by bootstrap classpath?
    What about JARs loaded in runtime?
    Is the separator ":" always same on all operation systems?
    I was looking for some Java API based solution, method like List<URL> getAllClasspathItems()
    But there is nothing like this in ClassLoader, Class, Runtime or System classes.
    For curious, here is code I use.
    String classpath = System.getProperty("java.class.path");
    StringTokenizer st = new StringTokenizer(classpath, ":");
    while (st.hasMoreElements()) {
         System.out.println(st.nextElement());
    }

    For curious, here are output prints for all 3 methods:
    1) parsing system property
    2) tschodt
    3) overcast SystemClassLoader to URLClassLoader
    /home/espinosa/workspace/jboss_embedded_test1/target/test-classes
    /home/espinosa/workspace/jboss_embedded_test1/target/classes
    /opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
    /opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
    /opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
    package com.sun.org.apache.xerces.internal.impl.validation, Java Platform API Specification, version 1.6
    package com.thoughtworks.qdox.directorywalker
    package com.sun.org.apache.xerces.internal.parsers, Java Platform API Specification, version 1.6
    package java.util.jar, Java Platform API Specification, version 1.6
    package org.testng.internal.thread
    package com.sun.org.apache.xerces.internal.util, Java Platform API Specification, version 1.6
    package java.net, Java Platform API Specification, version 1.6
    package sun.reflect.misc, Java Platform API Specification, version 1.6
    package esp.ejb.samples1.test
    package sun.security.provider, Java Platform API Specification, version 1.
    file:/home/espinosa/workspace/jboss_embedded_test1/target/test-classes/
    file:/home/espinosa/workspace/jboss_embedded_test1/target/classes/
    file:/opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
    file:/opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
    file:/opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
    ...Interestingly, method 1 and 3 gives the same list, same order, same count, just format of item is a little bit different. The order is same as in Eclipse .classpath file.
    Method 2 (tschodt) give significantly more items! rougly 3x! Different order (somewhat random it seems to me). Some items contain extra information, like version and string "Java Platform API Specification".
    It prints not absolute paths but logical Java names.

  • HT1175 How do you back up additional hard disks to time capsule? Which disks etc. to you choose?

    How do you back up additional hard disks to time capsule? Which disks etc. to you choose?

    I can read your question a number of ways.
    If you mean a disk plugged into your computer you wish to include in Time Machine backup.. just make sure it is HFS+ formatted and remove it from the exclusion list in the TM preferences.
    If you mean a disk plugged into your TC for backup,
    You can plug a USB disk into a Time Capsule as long as it is compatible.. and the disk is formatted HFS+, ie Mac OS extended Journaled.
    You need a USB powered hub if you want to use multiple hard disks and even one might still need a hub.
    Not all external drives are recogised but for example the Touro Deskpro works fine.
    You can buy them up to 4TB.. how much added space do you want.
    Also notice that USB 2 on a TC or AE is slow.. I mean half the speed of the same disk plugged into your computer so consider if speed is relevant to you.
    You cannot use TM to backup network disks.. again I am not 100% sure what the question means.

  • Can I get Apple updates by hard disk

    As I am not in ADSL coverage area, I have to use use Bigpond Mobile Broadband plan which has a much lower monthly GB allowance and costs considerably more than ADSL2. I have several occasions when an Apple update is required (or offered) which has subsequently turned out to eat into my monthly allowance (15gb). The last occasion was iPhoto which turned out to be a 1.6GB update!! 10% of my allowance gone in one day.
    To my limited knowledge the only alternative to online updates is to get them sen by hard disk (or similar).
    Is this possible or are there other alternatives?
    Any suggestions appreciated

    Apple does not send out software except by the Internet. You can go to a local Apple retailer and ask if they could put an update onto your pre-formatted USB flash drive.
    Alternatively, try downloading over a local public network such as the local library, Starbucks, etc.

  • How to get name of sbRIO programatically

    How to get "name" and "Comment" of sbRIO which I write to sbRIO-9602 in MAX in Identification box (Model, Serial number, MAC address, Name)?
    Solved!
    Go to Solution.

    That shows:
     - IP settings
          - IP adress:        136...etc.
          - DNS name:      MyMaster5                   - THAT IS WHAT I NEED, just in wrong place - in MAX it is not in IP settings, that's why i didn't searched for it there.
          - subnet mask    255.255.255.0
          - gateway          136...
          - DNS server      136...
     - MAC address        00800...
     - serial number        16....
     - system state        Running
     - model name         sbRIO-9602
     - model code          7373
     - password protected restarts?    T/F
     - halt if TCP/IP fails?                   T/F
     - locked?                                   T/F
     - use DHCP?                             T/F
    Still there is no "comment" as in MAX. But that's not so important now.
    I have LW Development system 2009 SP1 Profesional, Realtime Development 2009 SP1
    Thanks very much!

  • How to get name of table from front end

    Hi,
    How to get name of table from front end in EBS 11i?
    thanx
    Ashish

    Hi
    Sandeep is correct. The "Help"/"Record History" will give you the table/view name, but sometimes this particular menu function give me a "Record History is not available here." error message.
    I then use the following menu functions (this will also give you additional information, like column details).
    1) Open Forms
    2) Click on Help/Diagnostics/Examine (*you might have to enter the APPS password at this point)
    3) Change "Block" to "System"
    4) Change "Field" to "Last_query"
    The system will populate the "Value" field with the query that was executed in order to populate the form.
    Regards
    Frank

  • How to get back "Bookmark All Tabs" in menu ? Please if you don't want it (still quite some ppl want because it's usefull), at least allow to get it back trough Preferences (or at least about:config)

    How to get back "Bookmark All Tabs" in menu ? Please if you don't want it (still quite some ppl want because it's usefull), at least allow to get it back trough Preferences (or at least about:config)

    Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825).
    You can see the difference if you use Alt+F to open the File menu or other menus like the Edit menu (Alt+E) and Bookmarks menu (Alt+B) and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.
    * "Bookmark All Tabs" (Shift+Ctrl+D) no longer shows in the Bookmarks menu unless you open the Bookmarks menu via the keyboard (Alt + B).
    * "Bookmark All Tabs" can be accessed via the right-click context menu of a tab on the tab bar.
    See also:
    * [[/questions/799856#answer-155765]]
    * Bookmark All: https://addons.mozilla.org/firefox/addon/bookmark-all/

  • How can get emails on all devices?

    How can get emails on all devices? When I read an email on my mac, my iphone doesn't download it. How can I change that setting?? I need to have all emails and all my devices!

    It sounds like your using a POP3 email account versus IMAP. With a POP3 account if you do not have the settings configured to leave email on the server the problem you describe will occur. With Outlook 2010 (on a PC for example) you can go into the account settings and configure to leave email on the server. That way both devices will see the email. Check help for your Mac email program for instructions...
    http://www.serverintellect.com/support/email/outlook-leave-on-server/
    A better solution is if your email provider uses IMAP. IMAP sync email folders between multiple devices. Meaning any device will receive the email, all sent email can be seen on the devices. If you delete email from one device the email is deleted from all the other devices. Check with your email provider to see if they offer IMAP services.
    If they do not your choices are to 1) configure email on the Mac as illustrated in the link above or 2) change email providers to something like Gmail or Outlook.com (as examples).
    Also see this for the iPad...
    Using a POP account with more than one device - Apple Support
    FWIW I use Cox IMAP email and fully sync email between a Win 8.1 Update 1 laptop, a Win 7 desktop, an iPad 4, an iPhone 4 and an iPhone 5S.

Maybe you are looking for

  • Can RAM lock on a new iMac?

    Hi all Just a quickie. My mum has recently purchased a brand new iMac. Specs below: 21.5-inch: 2.7GHz 2.7GHz Quad-Core Intel Core i5 1920 x 1080 resolution 4GB (two 2GB) memory 1TB hard drive AMD Radeon HD 6770M with 512MB OS 10.7.3 My question is th

  • Mail not saving signatures

    I just added two new email accounts. When I add the signatures for these accounts it adds them just fine, they show up in the right header signature box, everything works just fine...until I close mail. When i reopen the signatures are still in the '

  • From dvix, xvid, dvd and avi to ipod

    I read a lot of topics but i don't understand so much!!! I would to buy a video ipod because i fall in love because of its beauty, its great sound quality and its simplicity... but i have a problem: i want to use ipod like an external hard disk where

  • Discoverer 3.1.36.06 bug?

    Dicoverer 3.1.36.06 Bug? Hello, I've been having trouble trying to setting privileges to User IDs in Discoverer 3.1.36.06 Administration Edition. This seems to be a very basic problem that I'm sure lots of people have already detected it. The problem

  • Search bar doesnt launch a search when I press Enter key

    When I type something in the search bar, it shows me suggestions. On pressing Enter, it selects the highlighted suggestions. Now that I press Enter again to launch the search query, nothing happens. Search query doesnt go to the network till I mouse-