How to get list of drives present in local file system?

Hi all,
I want to show all drives and their contents using JTree.
Does anybody know how to get list of drives present in local file system?

Thank you!
I have new question.
I want to disply size and file type. Can you give ur suggestion in order to do that?
I want to provide following using JTree
+ root <Dir> 50KB
- file1 <txt> 10KB
- file2 <bmp> 20KB
+ root2 <Dir> 200KB
-file1 <jpeg> 50KB
Is this possible?
Plz reply..........
bye

Similar Messages

  • How can I export a playlist (.m3u) to local file system?

    How can I export my playlits to the local file sytem, e.g. in .m3u format. In iTunes 11 it was a simple click on "export" and choosing a file name, done. The button "export" is missing in iTunes 12.

    File > Library > Export Playlist...
    tt2

  • How to get the exact case of a local file

    Hi,
    I am using form 10g with webutil and have a local file called "Abc.sql".
    In my form, there is a input text and a button to let users to input the local file name and the press the button to upload it to
    the app server.
    What I want is : I can upload the file in the server with the exacl local file name. That means "Abc.sql" no matter users input
    "abc.sql" or "Abc.sql" in the input text.
    How to achieve this ? Is there any function provided to get the exact local file name ?
    For example, if I input "abc.sql" , it can return "Abc.sql".
    Thanks in advance
    Ivan
    Ivan

    Hello,
    How about simply let the user choose the file through a File selection dialog rather than take risk of end-user input typo ?
    Francois

  • How to get data from BW Cube to Another File system?

    Hi,
    I have a requirement to get the sales data from BW system(infoCube) to another file system as XML file using XI as a middleware. Can anybody give the suggestions on this please?
    Thanks & Regards,
    Satish

    Take a look at the following document. You will get a fair idea how to integrate BW and XI.
    BW > XI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/integrate bw via xi.pdf
    XI> BW
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how to push data into bw from xi.pdf
    regards
    SKM

  • How to get list of tags in my html file?

    Hi,
    I am having a html file.
    I would like to display the list of tags and the names in the html file.
    For example, I am having a tag <input> and defined the tag name as "Inp1".
    So, I want to display the list of all tags and its names.
    Thank you,
    Regards,
    Gowtham Sen

    Is this an oversight in the library specification?
    Why does the tld file not contain any tag interrelationship information when the tags java api provide all the mechenism handle nesting.
    I have a tag library with a large number of tags which form a hierarchy reflecting the design of the library and its components.
    As the meta information ( tld ) does not contain any information about this hierarchy, the user is left clueless as to the composition of the tags.
    Also this directly affects all jsp design and editing tools, making features like code completion etc almost useless.
    Anyone from the tag library spec team ???

  • How to read the contents of a file present in local file system

    Hi ABAP Experts,
       I want to read the file contents of a file in the local system. I want to read it stream based i.e if the file is if 100kb in size, i want to read the first 100bytes at one time, next 50 kb after, and remaining some other time. Is this possible. I know that with GUI_UPLOAD i can get the total contents into a xstring.
    But how to resolve the following i am not sure. Can you please help.
    Thanks & Regards,
    Vinay.

    Hi,
    transfer file to your application server and use:
    open dataset file ... AT POSITION p .
    regards Andreas

  • I want to get List of all active sessions in current system

    Hi experts
    How to get list of all active sessions in current system in any internal table along with details.
    A sample code wud be helpful
    Thanks in advance.

    try this code it might help u.
    Below report execution gets the active Session list to ABAP memory
    submit rsm04000_alv and return exporting list to memory.
    refresh: gt_listobj.
    Below FM get the List output from ABAP memory to gt_listobj in HEX
    call function 'LIST_FROM_MEMORY'
      tables
        listobject = gt_listobj
      exceptions
        not_found  = 1
        others     = 2.
    if sy-subrc <> 0. " Executed successfully ?
      message id sy-msgid type sy-msgty number sy-msgno
      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    This FM converts ITAB gt_listobj from HEX to ASCII
    call function 'LIST_TO_ASCI'
      tables
        listasci           = it_list
        listobject         = gt_listobj
      exceptions
        empty_list         = 1
        list_index_invalid = 2
        others             = 3.
    if sy-subrc <> 0. " Executed successfully ?
      message id sy-msgid type sy-msgty number sy-msgno
      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    This Shows the output in List format on screen
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
       i_structure_name                  = 'line'
      tables
        t_outtab                          = it_list
    exceptions
       program_error                     = 1
       others                            = 2.
    if sy-subrc <> 0. " Executed successfully ?
    message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.

  • How to get list of software installed in a system

    How to get list of softwares installed in a system?. should i use registry to get information or control panel?
    is there any package available for this? how should i start with/
    thanks

    How to get list of softwares installed in a system?.Using native code, if at all.
    should i use registry to get information or control panel?Linux has neither.
    is there any package available for this? how should i start with/ Learn the Windows API or Google for some native tool.

  • How to get list of docs for particulat billing type on plant wise

    very urgent
    is there any t-code, report to look thi
    how to get list of billing docs grnerated  for particulat billing type and if possible  on plant wise also
    very urgetnt
    points to be rewarded
    eagerly waitng from sap gurus

    Dear chakri
    As you may be aware, in VF05 you need to enter either Payer Code or Material Code and then based on the selection criteria, the report will generate.  Please give the (ensure that this code is exist in billing document) Payer code and now select "Further sel.criteria" and DONT forget to enter the date in from column of "Billing docs.date".  By default, there you can see one month date range. 
    Still if you get error message, please let me know the error message.
    thanks
    G. Lakshmipathi

  • How to get list of tables used in packages

    Dear All
    Can you pls tell me how to get list of tables used in packages
    Regards

    select referenced_name
      from user_dependencies
    where name = 'your_package'
       and referenced_type = 'TABLE'Regards,
    Rob.

  • How to get list of file names from a directory?

    How to get list of file names from a directory?
    Please help

    In addition, this:
    String filename = files;Should be this:
    String filename = files;
    That's just because he didn't use the "code" tags, so [ i ] made everything following it become italicized.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to get listed as a XMP partner?

    Hi there
    We have just released a major metadata/keywords update, to our Digital Asset Management solution, based on Adobes XMP format.
    Does anybody know how to get listed on the XMP partner page: http://www.adobe.com/products/xmp/partners.html
    Thanks,
    Jesper
    Filecamp.com

    Hi Frank
    Just wanted to make sure you got our company information:
    Your full company name
    Filecamp AG
    A company representative (name, title)
    Jesper Faurby, CEO, Filecamp AG
    About the partner
    Filecamp is a lightweight Digital Asset Management, Image Library, and Online Proofing solution. Filecamp provides a secure customer branded platform to organize, review, approve, and share digital assets. Subscribers are from all over the world - ranging from freelancers to large corporations, usually from within the creative/media industry.
    The value of XMP technology
    "Adobe's XMP technology enables Filecamp to read and write metadata for common file types. Our customers appreciate the embedded metadata which allows keywords and more, to "travel" along with the files across various products, vendors and platforms."
    Logo
    A 170x55 px version of the logo can be downloaded from here: https://files.filecamp.com/public/file/21xp-1cum8c4d
    Many thanks for your help. Please let me know if you have any questions.
    Ok?
    Best regards
    Jesper Faurby
    www.filecamp.com
    Media Asset Management, Image Library, Professional File Hosting & Online Proofing ... in one integrated, secure and cost-effective solution.

  • How to get List Item attachments name without write any custom code or any database query?

    Hi,
    How to get List Items attachments name without write any custom code or any database query?

    You can get it from Rest,
    There are 2 options,
    1) create a 'Result Source' which has a search query for that List which has attachments 
     - Use rest query to get the 'Filename' , it will have the attachment file name 
    For example, if the result source id is : 73e6b573-abf8-4407-9e5f-8a85a4a95159 , then the query will be 
    http://[site URL]/_api/search/query?querytext='*'&selectproperties='Title,Path,FileExtension,SecondaryFileExtension,Filename'&sourceid='73e6b573-abf8-4407-9e5f-8a85a4a95159'&startrow=0&rowLimit=100
    You can refine the query, be giving proper 'querytext'
    2) Use the List rest api
    For example if your list guid is :38d524a1-e95c-439f-befd-9ede6ecd242e
    You can get he attachments for 1st item using this 
    http://[Site URL]/_api/lists(guid'38d524a1-e95c-439f-befd-9ede6ecd242e')/items(1)/AttachmentFiles
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • How to get list of buttons count

    how to get list of buttons count in the oracle web page (similar to child objects concept in QTP for getting buttons count in a page)

    Hi Rakesh,
    I think you are looking for something like this:
    Using Powershell to list all users that had completed
    a password reset within the last 30 days
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • How to get list of modified repository objects in SPAU

    Hi,
    While applying Support pack for HR (SAP ERP 6.0) I get SPAU prompt with message:
    "The system detected that 10 of the repository objects in the Support Packages have been modified in
    your system . Check whether you want to retain or restore these changes you have made. Fore more
    info about performing modification adjustment see modification adjustment help..."
    Now as I call SPAU i get the screen with following options:
    Correction in SAP Note
    With modification Assistant
    Without  modification Assistant
    etc..
    Can someone guide me How to get list of modified repository objects in SPAU.
    Thanks & Regards
    Vishal

    Hi,
    In SPAU you will get with modification assistence. just expand the subtree, and follw standard process .
    This is to retain the enhancement. If there are any data dictionary related correction go to SPDD.
    Regards
    Rahul

Maybe you are looking for

  • Missing index entries

    I have been working on a massive index (about 20,000 entries) on a ID CS6 document, a 700 page biological work of reference where all taxon names should be indexed. Took me several weeks. I produced the InDesign file from a Word file, but entered the

  • Requirements For JSP

    What are the basic requirements to get going using JSP?In particular, what do I need to ask/tell my Internet Service Provider and will I be able to build and test the functionality of JSP locally? These are very naive questions, but it is incredibly

  • Sale wrt STO of raw material from a manufacturing plant to other plant

    Hi Gurus, My scenario is that, I have procured a raw material for PLANT A. At the time of procurement it  hits RG23A PART1 AND RG23A PART2 registers. Now I want to sell this raw material without any value addition to other PLANT B of the same company

  • Setting up with external Drobo mini SSD RAID

    I am getting a Drobo mini (connected through Thunderbolt) with 4 240GB SSD drives and setting it up with RAID 5, so I have three drives for data and one protection drive. My goal is to set up my Late 2012 iMac (internal 1TB Fusion drive) so that when

  • No Messages Exist - In InfoCube

    Hi, I have loaded flat file data in to the InfoCube and When I check the infocube content I'm unable to see any records in that. And I'm getting a message as 'No Messages Exist' Please tell me what could be the errors. Thanks