How to retrieve items from Windows Explorer like My Computer?

How can a java program retrieve item names in the Windows Explorer directory structure [i.e. items in the left pane like Desktop, My Computer, Printer, Control Panel, Dial-up Networking etc.]. I retrieved all the drive names and directories using java.io.File class and displayed using JTree.

I don't believe that a lot of those items are actually "files" and directories, if you use the "dir" command in a DOS box from your Desktop I don't think you can find them...if you can then they are files etc...
Since stuff like "Control Panel" is OS specific (i.e. Windoz) then Java wouldn't support it in the core API...

Similar Messages

  • How to retrieve data from inside the folders in SharePoint SSRS

    Hi ,
    How to get the data from inside the folders and subfolders.
    How can I do that.
    https://social.msdn.microsoft.com/Forums/en-US/15451351-4ee2-428c-a0b7-135810e4cbfa/action?threadDisplayName=ssrs-reports-sharepoint-list-datasource-how-to-retrieve-items-from-subfolders
    Here the information is not given.
    Regards
    Vinod

    Hi Vinodaggarwal87,
    According to your description, you want to retrieve data from sharepoint list in a sub folder. Right?
    In this scenario, we should select the XML data source type and in the connection string provide the
    List.asmx service URL when creating data source. Then we need to use the List web Service and specify "recursive" for ViewAttribute in Lists.asmx. For detail steps, please refer to the links below:
    Generate SSRS report on SharePoint List with folders using List Service.
    SSRS: how to specify ViewAttributes when creating a report against a SharePoint's list
    If you want to set the ViewAttribute on CAML query level. You need add the view tag outside of query tag:
    <View Scope="RecursiveAll">
        <Query>
            <Where>...</Where>
        </Query>
    </View>
    Reference:
    View Element (List)
    ViewAttributes Recursive Scope not working SharePoint 2013 CAML Query to fetch all files from document library recursively
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How Do I Drag and Drop Images From Windows Explorer to Applet?

    I'm not able to Drag and Drop Images and other files (like audio and video files) from Windows Explorer to Applet. Is that Possible to do so?. Can SomeOne help me out regarding this? Thanx in Advance.

    No problem here. Can you say any more about the situation?
    Jerry

  • Copy and paste files from Windows Explorer

    Hi everybody,
    For a part of my application I need to copy and paste files and folders from Windows explorer to the vi shown in the picture.
    Does anybody know how to implement this with the clipboard functionality.
    Also drag and drop would be very nice (but thats maybe a later step...)
    Best regards, Helmut

    Hello Friedr,
    drag and drop is the easy part!
    Use a path control, this will naturally allow drag and drop. If a file is dropped on this a 'Value Change' event is fired! with this event you can load the data into the picture. To get a nice drag and drop functionality you should make the path transparent and resize to the size of the picture control. This will work fluently!
    To use the clipboard, LV 8 has an functionality for this, I think it is an application event.
    Success Ton
    PS I didn't see you image maybe it was removed when you did a preview these have the bad habit of removing the attachments!
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Files Opened from Windows Explorer Resize Illustrator Window

    Windows 7 Enterprise, SP1
    Illustrator CS6 16.0.3, 64bit
    Over the past weeks, opening any Illustrator file (.ai or .eps) from Windows Explorer resizes the main illustrator window. The window "restores down" from my maximized view that I always run. This does not happen when I use the File > Open command from AI. Using File > Open, the AI window remains maximized and my artwork file opens in a tab (my preference).
    It's really just a nuisance, but it's wearing thin now. More frustrating, this behavior only started a few weeks ago (been running CS6 for a few months.)
    I found a post describing similar behavior from the CS3/2008 era... The fix is a workaround. Lots of complaints about this historically... with plenty of comments like "I hope they finally fix this is CS4."
    http://forums.adobe.com/message/1265916#1265916
    How may I fix this behavior without writing a batch file and making Registry edits (per 2008 post)?

    This definitely isn't a fix, but is the best work-around I've been able to come up with.
    I'm also on Win 7 Enterprise 64-bit using Illustrator 16.0.3 64-bit.
    Although Windows/Adobe (I don't know whose fault it is) doesn't maintain the maximized state, it does (for me) seem to remember the last restored down size and window position, so here's what I did:
    Restore down the main Illustrator window.
    Move the window so that the top left corner is positioned in the top left corner of the screen/desktop.
    Resize the window from the bottom-right corner down to the bottom right corner of the screen/desktop.
    At this point, it should appear maximized (or very nearly so), even though it actually isn't.
    Now (for me at least) when I double-click an AI file from Windows Explorer, the Illustrator window drops out of maximized state to this same nearly maximized state (although technically not maximized).
    Hope this works for others.

  • Can't drag & drop images from Windows Explorer into Elements 7

    Hi...
    I'm a Photoshop Elements 7 newbie... I can't drag and drop images (jpeg, tiff, Olympus RAW) from  Windows Explorer (file explorer and not IE) to Photoshop Elements like I  can in Corel Paint Shop Pro X2? It also works in Corel Painter IX.5 & ArtRage 3 (except for RAW)... My operating system is Windows 7 Home Premium 64 bit.... I've uninstalled and re-installed Elements but to no avail. I've also tried to run Elements under various compatability modes but still no luck....
    Any ideas?
    It's driving me nuts...
    Thanks kindly
    Ken

    "I just remembered: If the Editor or Organizer are "running as administrator", then you can't drag and drop from Windows Explorer.  To see if you're running the program as administrator right click the desktop icon or Start Menu item you use to launch PS and select Properties.  On the Compatibility tab, is Run This Program As Administrator checked?  (Note that in Vista and Windows 7, running a program as administrator is different than running it in an account that's a member of the Administrator's group.)"
    I wasn't running the program as administrator so I enabled that compatibility property applied it then disabled it. It seems to work now. I thought I'd add this to flesh out the previous answer. I didn't open the program in between the enable and disable, so it is a quick process. Also, I am using windows 8.1 and had to open the file location in order to do this. Right click on the tile then choose 'open file location'

  • I'm unable to write/burn a CD-R (Verbatim) from a playlist after upgrading to iTunes 12.0.1.26. I get error 4000. I can however write/burn a CD from Windows Explorer and CDBurnerXP v4.5.4.5143 – which implies the device is working OK

    I’m unable to write/burn a CD-R (Verbatim) from a playlist after upgrading to iTunes 12.0.1.26. I get error 4000. I can however write/burn a CD from Windows Explorer and CDBurnerXP v4.5.4.5143 – which implies the device is working OK – and only fails when I write from iTunes.  The drivers are up to date
    Microsoft Windows 7 x64 Business Edition Service Pack 1 (Build 7601)
    Dell Inc. Latitude E6420
    iTunes 12.0.1.26
    QuickTime 7.7.6
    FairPlay 2.7.39
    Apple Application Support 3.1
    iPod Updater Library 12.0
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 8.0.5.6
    Apple Mobile Device Driver 1.65.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 3.06.0.2770
    Gracenote MusicID 3.06.0.2770
    Gracenote Submit 3.06.0.2770
    Gracenote DSP 3.06.0.2770
    iTunes Serial Number 756D13C00C3583C8
    Current user is not an administrator.
    The current local date and time is 2015-01-13 14:47:35.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Intel(R) HD Graphics Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    iPodService 12.0.1.26 (x64) is currently running.
    iTunesHelper 12.0.1.26 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    LowerFilters: SbCeCd (3.2.6.3),
    UpperFilters: GEARAspiWDM (2.2.3.0),
    F: HL-DT-ST DVD+-RW GU40N, Rev A103
    Drive is empty.
    The last failed audio CD burn had error code 4000(0x00000fa0). It happened on drive F: HL-DT-ST DVD+-RW GU40N on CDR media at speed 24X.
    F: HL-DT-ST DVD+-RW GU40N, Rev A103
    Audio CD in drive.
    Failed Reading table of contents, error 4000.
    Check the website of your computer or drive manufacturer to verify that you have the latest firmware for your CD / DVD drive.
    Audio CD reading failed. Error Code:   87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87.
    iTunes cannot play or import music from a CD in this drive. The drive may need a firmware update. Check with the manufacturer.
    Get drive speed failed. Error Code: 4000.
    The last failed audio CD burn had error code 4000(0x00000fa0). It happened on drive F: HL-DT-ST DVD+-RW GU40N on CDR media at speed 24X.

    Hi iTunes-1,
    Welcome to the Support Communities!  The error message you posted indicates a possible firmware update is needed for iTunes for Windows to work with your CD drive.  
    iTunes for Windows: Updating the firmware on your CD or DVD drive - Apple Support
    http://support.apple.com/en-us/HT201852
    Having outdated firmware can cause issues using CDs and DVDs with iTunes for Windows. Firmware is a type of software stored in a chip in hardware that can sometimes be updated.Identifying drives and firmware versions
    To run CD Diagnostics, follow the steps in this document.
    After following the steps to run CD Diagnostics linked above, look at section three to find out more about your optical drive(s).
    Here is an example of what section three might look like:
    In this example there are two drives. Drive E is a Samsung DVD-ROM drive with a model designation of SD-616 that has firmware version F000. Drive F is an NEC drive with a model designation of NR-7900A that has firmware version 1.08.Updating the firmware
    If the optical drive you are using came with your computer, check with the support site for your computer for a firmware update. Typically you will need to go to the support website for the computer maker and click on a "downloads" or "updates" link, and then enter your computer model designation and operating system version to see what updates are available. Then look through the available updates for a firmware update for your optical drive. Download the updater and run it. If you need assistance applying the update, contact the maker of your computer.
    If the optical drive you are using came as a separate part (was not included with a computer), check the support site for the drive maker for a firmware update. Sometimes the manufacturer is not clear in the CD Diagnostics results. In that case, you may just have to search the Internet for the drive model designation. You can usually find out who made the drive by looking through the results of such a search. Once you have identified who made your drive, go to the support website for that company. Look for a "downloads" or "updates" link, and then enter your optical drive model designation. Download the updater and run it. If you need assistance applying the update, contact the maker of the optical drive.Verifying that the firmware was updated
    Run CD Diagnostics again.
    Examine the CD Diagnostics results. The firmware version for the drive should be the new version.
    Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Risks are inherent in the use of the Internet. Contact the vendor for additional information.
    Last Modified: Nov 8, 2014
    Also, you mentioned that you have been successful burning a CD with the Windows OS.  Make sure that you have closed all software programs that can access the CD burner so that there isn't a conflict for the drive.   Sometimes chaning the burn speed from "maximum" to 8x can also help in this situation.
    I hope this information helps ...
    - Judy

  • I have a LaCie external hard disk. I do not know how to retrieve photos from iphoto that have disappeared. I do not know how to use Time Machine

    I have a LaCie external hard drive. I also have Time Machine. I somehow have "lost" almost all my 5,000+ photos from iPhoto 8.1.2. I would appreciate someone giving me directions on how to retrieve the photos from the external hard drive or Time Machine.
    The last thing that I did that is different from my normal routine was to trash duplicate music tunes from iTunes. I cannot figure out how that would have caused my photos to disappear.
    Thanks in advance for any assistance.
    Marilyn

    I remember being cautioned to never do anything with the iPhoto Library. Should I have clicked on the iPhoto Library and then Restore?
    I do not know "how" items are being placed in the LaCie external drive, just that it shows a backup running about every hour. I have taken a snapshot of the Time Machine Preferences I would you to see. Maybe that would answer this question.
    In March 2011 I had to have hard drive on my iMac replaced. I had been using a Seagate external drive for backups. However I was not using Time Machine. When the Apple guru was helping me restore all my files etc on the new hard drive he was not familiar with Seagate and recommended I purchase this LaCie and use Time Machine. I never had any problem retrieving items from the Seagate backup. It was very straightforward. As I mentioned previously, I just don't have a clue with the LaCie and Time Machine.
    I hope this is not TMI.
    Marilyn

  • New Camera RAW in Photoshop CC 2014 won't open multiple Panasonic RAW (.rw2) at the same time from Windows Explorer.

    New Camera RAW in Photoshop CC 2014 won't open multiple Panasonic RAW (.rw2) at the same time from Windows Explorer.  If I select 2 raw files and click "Open" Camera RAW will only open 1 raw, then when I click "Done" it will close and open the second, sequentially.  Previous Photoshop CC and RAW worked fine, it would open mulitple RAW at the same time.  How do I fix this?

    If it worked for you that way previously there isn't much to comment about. I just tried opening multiple images from Windows Explorer with Photoshop CS6 and Camera Raw 8.6, and the first image would open and when I clicked cancel then the second image would open. But if I wanted multiple images opened in Camera Raw to work on them simultaneously it was necessary for me to open them from Bridge. I just did it as an experiment because I normally use Lightroom. Anyway, IF it was a feature at one time to work as you described, it doesn't seem to be that way now.

  • How to retrieve info from a MacOs Standard floppy?

    How can I retrieve information from a MacOs Standard formatted floppy disk on Snow Lion?
    I have this collection of old floppy disks that were formatted as MacOs Standard format back in the days. They do hold some files which I'd like to backup on a backup drive.
    But, Snow Lion does not read MacOs Standard formatted disks apparently.
    So, does anyone know how to retrieve information from MacOs Standard formatted floppy disks?
    Thank you!

    This what I see in ML with my old SmartDisk VST (model# FDUSB-M) floppy drive:
    Interesting observations:
    1. I was able to add and remove files to the disk.
    2. I was not able to erase the disk with Disk Utility. It returned an error.
    3. Disk Utility did not offer the HFS+ format option, only FAT32 and ExFAT.
    4. I could only find 1 floppy in my house so it could be partially defective.

  • Drag image file from Windows Explorer to a new layer in an open file

    I want to know if it's possible in CS3 to drag an image file from Windows Explorer into an already open file in PS.  Right now when I drag over, it opens that file.  I want to have it where the image is inserted as a new layer into the existing open file.  is that possible?

    Hi, I'm using CS4 and would love to be able to drag n drop straight to a new layer in an existing file.
    At present when I drag n drop I get a new image in PS. I then have to move this to my existing image. I have tried draging to the tab, the layer box, the image, the blank space, using shift,ctrl & alt.
    A simple how to would be nice

  • Help with Adobe.premiere.elements12. Please It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer.  How can I use the Windows Explorer structure to organise the photos wi

    Help with Adobe.premiere.elements12. Please
    It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer.  How can I use the Windows Explorer structure to organise the photos within Elements.

    In a situation such as yours, I tend to consolidate items into folders so I have folders of nice workable numbers of images, somewhere between 20 and 200 images. Now, whatever, once you've imported, do your moving within LR, not the OS! I will select all in a folder and drag into a folder a level or two or three above, and then delete the newly empty subfolders. I hope this helps a bit!
    Once you've reached just new Imports of camera output, you'll be flying along.

  • How to import favorites from Windows

    How to import favorites from Windows Internet Explorer 9 to MAC?

    Here are some links you should bookmark and begin using, they're specifically for MS Windows switchers. Your answer for that question and I'm sure many more will be inside.
    Mac 101
    Switch 101
    Find Out How Video tutorials
    List of Useful URLs for switchers

  • R-Click print from Windows Explorer doesn't print actual document size.

    We publish AutoCAD drawings to PDF routinely.  They are setup in 11x17 landscape format.  They are published (AutoCAD's way of printing multiple at once) to PDF in 11x17 landscape format.  When you open the file with Reader they are in 11x17 landscape format.  You can manually print them after opening from adobe reader in in 11x17 landscape format.  But, when you are in Windows Explorer, right click these PDF file(s) then click print, they are printed in 8.5x11 landscape format.
    How can we get these to print in the documents actual format?  We want to be able to R-Click the file(s) and print them from Windows Explorer without having to open Reader.

    Does anyone know how they can help me?  We could really use this.

  • How to Retrieve data from Variant Table

    Can anyone help me by telling how to retrieve data from variant table which was created by user. I am able to see data of variant table only thru cu60 transaction but not se11. I s there any function module to do this?

    Hello Mohan,
    if u already have data and u want to populate it in F4 help then use below code -
    u Have to make use of FM - 'F4IF_INT_TABLE_VALUE_REQUEST'
    REPORT  ZGILL_VALUE_REQUEST                     .
    data: begin of lt_all occurs 0.
            include structure DYNPREAD.
    data  end of lt_all.
    data: begin of lt_selected occurs 0.
           include structure DDSHRETVAL.
    data: end of lt_selected.
    DATA: BEGIN OF lt_code OCCURS 0,
                code LIKE zgill_main-PERNR,
          END OF lt_code.
    data no_dyn like sy-dynnr.
    Parameters : ECODE like zgill_main-PERNR.
    *parameters: pernr like pa0001-pernr .
    no_dyn =  sy-dynnr.   "give the scren no directly or sy-dynnr in case of report.
    At selection-screen on value-request for ECODE.
    select PERNR into table lt_code from zgill_main.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
            retfield               = 'ECODE'
            dynpprog               = sy-repid
           dynpnr                  = no_dyn
          dynprofield              =       'ECODE'
          window_title           = 'Employee Details'
           value_org              = 'S'
          DISPLAY                = 'F'
       TABLES
            value_tab             = lt_code
           RETURN_TAB             = lt_selected.
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
    *if sy-subrc eq '0' .
      write: 'success'.
    *endif.
    read   table lt_selected index sy-tabix.
    move lt_selected-fieldval to ECODE.

Maybe you are looking for

  • 5th generation IPOD not recognized by computer

    Hey Internet users, my dad's been having some troubles and I was hoping to try and help him by reposting something he did elsewhere... "Hello Everyone and thank you for reading my post. I have a weird problem, my 30 gig 5th generation Ipod is not rec

  • Ipod Video 30gb isn't recognized by My Computer or Itunes.

    My ipod is not recognized by any pc I connect it to. When I connect the usb cable all it does is charge the Ipod itself but it doesn't connect. I tried the 5r's of apple but none of them work. How do I fix this with out going to the apple center to p

  • Cleared Invoice net and gross report

    Hi Experts I have been doing some investigating and i cant seem to find a way to run a report on cleared vendor invoices that have been cleared which clearly show the net and the gross of an invoice. fbl1n is almost right but it shows the gross and n

  • IPad UIWebView and different versions of XCode

    I have an iPad app with a UIWebView which loads some local .rtfd.zip files. The problem is that if I compile the app with XCode 3.2.2, everything works fine, but if I compile it with newer versions of XCode, I just get a blank UIWebView. Here's how I

  • Want to download itunes 11.1?

    help me download itunes 11.1 version please