Open speciffic folder in Windows XP

I'm trying to make a very simple program in Borland Builder. It is supposed to open a specified folder on the hard drive through a path that i define in the program, fx: "C:\Program Files\JBuilder\New Folder".
Anyone who has an idea? I would be glad for examples :)
Thanks - JonasBB

Is that better? :)
I'm Danish and a noop at Java programming, so it's
quite difficult for me to explain.. But tell me if
you don't understand my suggest :)
Noop: http://dict.die.net/noop/
2. A person who contributes nothing to a project, or has
nothing going on upstairs, or both. As in "He's a no-op."
I don't think that's what you meant, either (I'm kidding here :). I think we have a difference in terminology. You mean "invoke a file manager pointed at the provided directory on the local computer", no? If this is the case, the Desktop.getDesktop().open() function is exactly what you want, if you have JDK 1.6. Otherwise, we're going to have to do some Runtime.getRuntime().exec() jiggery-pokery.
EDIT: By the way: Your English is better than most of the native speakers I know.

Similar Messages

  • Open, Open Containing Folder in Windows Explorer Using java

    How to open a file using the default application using java code?
    Ex: - Open a JPG file using its default image viewer (Ex: Piscasa 3)..... (Not Inside the Java Application)
    Then how to open a file containing folder with that file selected?
    Couldn't find any sources in the internet, Not sure whether my search terms are correct....
    Please Help
    Thanks!!!

    Madushan.UoM wrote:
    Thanks Andrew...
    I've did opening the file using
    try {
    Desktop desktop = null;
    if (Desktop.isDesktopSupported()) {
    desktop = Desktop.getDesktop();
    desktop.open(new File(path));
    } catch (IOException ioe) {
    ioe.printStackTrace();
    }Also able to open the directory by setting the "path" variable into the directory path
    But how to highlight the needed file after the Explorer is opened???Also, to be completely safe, you'd want to call Desktop#open() only if isDesktopSupported() returns true, otherwise you'll get a NullPointerException.
    if (Desktop.isSupported()) {
       try {
          Desktop.getDesktop().open(new File(path));
       } catch (IOException ioe) {
          ioe.printStackTrace();
    }

  • Can't open webdav URL in Windows Explorer

    I am working on a page that searches for collections (folders).
    From the results page I would like a link that opens the folder in Windows Explorer.
    But when I click on the webdav URL it opens UCM "browse folders" view.
    I have installed DIS, but it didn't help.
    I have a "network place" setup.
    I can create a shortcut to open webdav in Windows Explorer, just can't do the same with a URL.
    Thanks

    Our consultant found an easy way to open a webdav folder with the windows explorer from a form (IE only).
    <form method=GET name=webfolder action="http://myserver.na.d-rco.com:7797/dridctest/idcplg/webdav/Contribution%20Folders/" folder="http://myserver.na.d-rco.com:7797/dridctest/idcplg/webdav/Contribution%20Folders" style=behavior:url('#default#AnchorClick') target=WebFolder>
    <input name=sm type=submit value=Open>
    </form>

  • Multiple failed attempts to open PDF file from Windows Explorer by double clicking

    Hi,
    The configuration of my system is: Windows 7 SP1 x64, Adobe Reader 11.0.10.32.
    When double clicking on PDF file or trying Open with Adobe Reader IX in context menu  in Windows Explorer or any other file manager, the Adobe Reader opens only after few attempts. At each failed attempt the new AcroRd32.exe process arises. And only after few attempts the file opens! As a result, i see multiple empty AcroRd32.exe processes in Task Manager, each take about 4000 Kb of RAM and the only one file opened. I'm forced to kill those empty processes manually, because they are not killed when closing Adobe Reader window.
    I found the same problem on another PC with the same configuration.
    Best,
    Alexei

    Hi Alexei,
    Could you please let me know for how long have you started facing this issue.
    Open TEMP folder (Press Windows + R and type %temp%) and delete all the files in it.
    Does this happen with any specific PDF or all PDFs?
    You might try disabling Protected Mode by opening Reader and going to "Edit > Preferences > Security (Enhanced)"
    Let me know how it goes.
    Regards,
    Anubha

  • FF4 on Linux, Open Containing Folder

    Using LinuxMint 10 (like Ubuntu 10.10). WIth FF 3.16, when I select "Open Containing Folder" (when a download is finished). FF opens the folder using Nautilus. Now FF4 always as to select an application to open the folder. Obviously I want to open the folder using Nautilus, so I type nautilus.
    Now the context menu Open or Open Containing Folder do absolutely nothing. Please note that on Windows, Open Containing Folder works correctly. It really opens the folder using Windows Explorer.
    Is it still possible in FF4 to Open the Containing folder? If yes, please show how. If not, please put it back the way it was in FF3.
    Thanks

    This does nothing.
    (Help > Troubleshooting Information > Profile Directory: Open Containing Folder)
    Clicking on the "Open Containing Folder" does absolutely nothing. The action is just ignored. How can such a basic things could pass QA Test after such a lengthy beta test period? I found this defect right at the first day of use.

  • I want to open a folder in a separate window by clicking on it.  For some reason when I click on a folder it just replaces the one I was just in.  I want them both to be open at the same time without having to go through several steps.

    I want to open a folder in a separate window by clicking on it.  For some reason when I click on a folder it just replaces the one I was just in.  I want them both to be open at the same time without having to go through several steps. Old apple operating systems made it easy to have several folders open at one time. 

    Eric, thanks that works but seems like an extra added step also to do it that way.  I've got to move and organize a ton of files and I'm looking for a easy way to get this done.  I could also open the folder into a separate tab and then drag the tab out so it becomes an open window but thats a lot of fussing around also with extra steps.  Not sure why these newer operating system seems more confusing and less user friendly than what they used to.  In the past I could just click on any folder and it would open in a separate window making it really easy to copy or move files from one place to the other just by simply dragging them from one window to the other.  Seems like I'm going through several extra steps now to do a simple task. 

  • Firefox 4.01 downloads files but the downloads windows greys out the "Open" and "Open containing folder" options and I can't trace the files

    Three days ago I upgraded to Firefox 4.01. I downloaded several files that were ok. Yesterday and today I downloaded one powerpoint file and a an apple *.dmg file.
    On the Download window these two files I can see with the total mb in size. However when I right click the file list in the Download window the "Open" and "Open containing folder" options are greyed out. What is more I cannot find these files anywhere on my computer when I use Windows Explorer to search.
    It seems that this happened after I tried to download a Firefox add on from http://releases.mozilla.org/pub/mozilla.org/addons/64761/amazonassist-0.7.2.6-fx.xpi and my antivirus picked up the JS/Kryptik.AK trojan and terminated the connection. Is there a link with the problem I am experiencing?
    I use Windows 7 professional, Firefox 4.01

    You're welcome

  • With Mavericks I have to hold command key down and double click to get a sub folder to open in a new window.  Can I go back to just double clicking ?

    With Mavericks I have to hold command key down and double click to get a sub folder to open in a new window.  Can I go back to just double clicking ?

    Of course. To do it, open a Finder window, go to Finder menu (on the menu bar) > Preferences > General, and untick "Open folders in tabs instead of new windows".

  • "Open each folder in the same window" not working

    hey guys, just today, I noticed that whenever i double click a folder, it opens in a new window.  I went to folder properties, and made sure I checked "Open each folder in the same window," and its checked.  I tried switching it on, then off, then restoring all defaults in both those settings and the view settings, and I've tried restarting the computer, even using a system restore point.  No Matter what, whenever I double click a window, it opens in a new window, but if I use the navigation pane, or if I highlight a window and click the open button at the top left, it opens in the same window.  This is very very very annoying, because just navigating my harddrive, I might end up with 20 windows open to reach just 1 file.
    Does anyone know what's wrong?  or how I can fix this? 

    I was experiencing this same issue on my laptop and spent several frustrating hours of searching in vain for a solution. I tried most of the same fixes mentioned here with no success (re-registering DLL's, running the system file checker [sfc /scannow],
    turning off the navigation pane, performing virus scans, etc). After almost giving up, I discovered that I only experienced this behavior when I accessed Explorer from the shortcut which was pinned to my taskbar. When I opened the "Computer" shortcut
    on my desktop, I was able to open individual folders without having new windows open each time. I suspect that this is related to the new design/function of the taskbar in Windows 7. To get the results I wanted, I opted to revert to the "classic" style
    taskbar seen in Windows Vista (AKA the "Quicklaunch" toolbar) by following the instructions here:
    http://www.howtogeek.com/howto/windows-7/add-the-quick-launch-bar-to-the-taskbar-in-windows-7/
    Then, I simply added a new shortcut to "Computer" in the new Quicklaunch toolbar and, "Voila!" - problem solved. Oddly enough, I don't experience the same behavior on my desktop PC which is also running Windows 7. Ain't Microshaft grand?!? (a-hem)

  • I am trying to open iTunes on my Windows 7 PC and am getting the following message...the itunes library can not be found or created.  The default location for this file is in the "iTunes" folder in the "Music" folder.  Any ideas?

    I am trying to open iTunes on my Windows 7 PC and am getting the following message...the itunes library can not be found or created.  The default location for this file is in the "iTunes" folder in the "Music" folder.  Any ideas?

    Let's try this first. Hold down the Shift key while you try to launch iTunes. You should eventually see the following dialog:
    Click "Choose library". Browse to inside the following location (depending on what operating system you're running):
    Operating System
    Default location of iTunes library
    Microsoft Windows XP
    \Documents and Settings\[your username]\My Documents\My Music\iTunes\
    Microsoft Windows Vista
    \Users\[your username]\Music\iTunes\
    Microsoft Windows 7
    \Users\[your username]\My Music\iTunes\
    ... and open the iTunes library you find in there.

  • Since updating to 13, in the downloads window, when I right click, the "Open Containig Folder" is dark (so it's available) but when I click it nothing opens

    I first noticed this after updating to version 13.x and today I updated to 14.x and hoped the problem would go away but it didn't.
    Since 13.x when I see files in the "Downloads" window, if I right-click on one, the "Open Containing Folder" is black (not grayed out) so it indicates that it is available, but when I click on it nothing happens. No folder opens. I can trade down my Windows Explorer and find where it is, but that's a pain, when the "Open Containing Folder" should work and take me right to it.
    It does not give me any messages, or ask me to choose any program to use to open, it simply does nothing.
    Any ideas?

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]. Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u '''Use hardware acceleration when available''']. All these settings/options/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme, option or hardware acceleration is causing issues. Disabling/enabling hardware acceleration, and some types of add-ons in normal mode may require a Firefox restart.
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.org/en-US/kb/Options%20window Options]
    If the problem persists, you can also consider the [https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems Reset Firefox] feature via '''Help''' ('''Alt''' + '''H''') > '''Troubleshooting Information'''.

  • I tried to open a folder in my Documents. It does not show in any window but does show up when I am half way between windows. It did the same thing when I tried to empty the trash. It asked if that was what I wanted but I could't say yes because it was or

    I tried to open a folder in my Documents. It does not show in any window but does show up when I am half way between windows. It did the same thing when I tried to empty the trash. It asked if that was what I wanted but I could't say yes because it was or

    what is your question/issue here? did the folder have any content in it to begin with? screen shots of what you may be seeing?
    if english isn't your native language, write it in what you are most comfortable speaking in to describe your issue.

  • I need to just double click on every folder and have it open in a new window every time, as before. Can I do that?

    I need to just double click on every folder and have it open in a new window every time, as before. Can I do that?

    Finder -> Preferences -> General -> uncheck "Open folders in tabs instead of new windows"

  • Cannot open file folder in download window. when RT click "open containing folder" it is not highlighted.

    Recently when I try to access my folders in my Download window I cannot access them. I tried right clicking to open "open containing folder" but it is not highlighted.
    Any suggestions...Thanks

    Hi ,
    According to your description, my understanding is that you could not edit documents with Office client application in SharePoint 2010.
    Let’s do a troubleshooting about this issue:
    1. Make sure that you have installed Office application on your machine.
    2. Which explorer did you use for your SharePoint. Please test it with IE 10 32-bit, compare the result.
    3. Please try to reset IE, compare the result.
    4. Add your SharePoint site into Trusted site on your IE options.
    5. Make sure all add-ons related to SharePoint are enable, special for SharePoint OpenDocument Class and SharePointOpenXMLDocuments.
    6. Since you used OWA for your SharePoint site, please try to disable OWA, then open documents with client application, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • I'm having trouble with the folder "Automatically add" function. She opens a folder "not added". My machine is a Vaio with Windows 7 home basic antivirus using Microsoft. Regards.

    I'm having trouble with the folder "Automatically add" function. She opens a folder "not added". My machine is a Vaio with Windows 7 home basic antivirus using Microsoft. Regards.

    Its a 64 bits.

Maybe you are looking for

  • Sample  PL/SQL Portlet Source Code for Oracle Portal 9ias

    Hi, I'm a newbie of Oracle Portal technology, and I have a problem: I would create a PL/SQL portlet that realizes the following functions: 1) Retrieve the username of the portal user logged from WWCTX_API.GET_USER function. 2) Insert into an oracle d

  • ITunes 7.0.2 freezes with new iPod 60GB

    Hello everyone Everytime I connect my iPod to my Powerbook G4 laptop, iTunes decides to freeze. This never happened to me before. I connect my Nano all the time and no problem. Is there a way to fix this little problem? I checked some sites where use

  • Photoshop Album 3.0 Bilder  mit Tags auf DVD brennen? Geht das?

    Hallo, ich möchte Photoshop Album 3.0 Bilder mit ihren TAGS auf DVD brennen (=sichern). Ich finde aber im Programm keinen Weg dorthin. Wichtig ist, dass die jeweiligen TAGS zusammen mit den Bildern auf DVD mit gesichert werden. Wie geht das bitte? Mu

  • MacBook Pro shut down on its own resulting in 0% of CPU being idle

    Dear Friends at Apple, I'm concerned that the sudden & complete shut down and the fact that the notebook is running VERY HOT (temperature wise) is putting my 2010 MacBook Pro in danger of total ruin.  Is this an indication that the hard drive or CPU

  • Use of RFC_READ_TABLE

    Friends i have to make a use of the RFC_READ_TABLE to raed the data from any table with in the landscape. But how acn i paas the rfc target system in this FM..i'm using it in the program if we go in se37 we can see the target system but no parameter