How to find PATH of the executable (Windows)

Is there an object / method that would yeild the PATH of the .exe file?
For example:
I use a .svb file in PATH A to run a .exe in PATH B.
PATH B contains some input files along with the .exe.
How do I get PATH B so that I can find and access my input files.
Any suggestions are greatly appreciated.

no. you could search the entire disk, of course. Or if you know the application has it's path someplace specific in the registry, you could look there (not that Java provides a registry reader, but there's a package called JNIRegistry out there that can).

Similar Messages

  • Trying to launch another profile, get: "Impossible to find the executable file. To fix this, set a valid path in the options window"

    When I try to launch another profile in firefox, I get this message: [JavaScript Application] Impossible to find the executable file. To fix this, set a valid path in the options window.

    Having this problem with FF21 Beta1, add-on version 1.5.0.2 on Win7 immediately after upgrading FF.
    I would try to make a shortcut to the other profile as you suggested, but I honestly don't even know where the file is, if its a separate config or another executable all together.

  • How to get rid of the command window....

    How to get rid of the command window, automatically, once the .bat file which execute the .jar has been executed?
    Znx

    If you don't want the command window to show, use:
    javaw yourClass
    instead of...
    java yourClass

  • I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW

    I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW, and all I need is to find WHERE I can download it. Thanks.

    cr is installed by updating your app.  use help>update, or update manually
    pre cc updates:  http://www.adobe.com/downloads/updates/
    cc updates:  http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
    cc 2104 updates:  http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html

  • How to find out where the exe file was installed?

    Hi there,
    I have the following problem: In my VI, I'm reading a .txt file through the vi "Open Config Data" in which I specify the path of the txt. file and it returns me a refnum that is used to read the file. When I made the installer to this application, I included this txt, thus, the txt is kept together in the directory where the application is installed. The problem is that the path that is specified to the vi "Open Config Data" is not valid anymore, since the instalation directory is different. I'd like to know if there's a way to know where the application was installed. Maybe through a registry? If you have a suggestion, I'd be glad to hear it.
    Kind Regards,
    Bruno Ponne

    In addition to the information that JB provided, you can also do something like what is shown in the attached VI that I use. It takes the approach of stripping the current VI's path till it gets to something that doesn't end in .exe, .llb or .vi. This will give the OS path regardless of where the VI is located. I find this useful because I sometimes build applications utilizing a library of plugins and, depending upon where the plugin library is located, the path to it may not be the same things as the path to the executable.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
    Attachments:
    Extract my OS path.vi ‏42 KB

  • How do I re-size the Lr window?

    I'm new to Lightroom - transitioning over from Aperture. I'm running Yosemite on an older (early 2008) 24" iMac.
    How do I re-size the Lr window? At present it seems to be locked at full size. Note that this is NOT Full Screen, which I can still toggle to using <F>.

    That did it! Thanks much. I expected the solution would be simple but I just couldn't find it. You've saved me a lot of time.

  • When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?!

    When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?! and then I'd like to erase the original files since the space requirement is huge!!!! Why is upgrading software iPhoto such a pain. I've gotta get a presentation done and all I get for my money is roadblock!!!

    hello, it sounds like the library is damaged.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 

  • How do I turn off the downloads window?

    How do I turn off the downloads window? I recently upgraded FF, hated the new one, so downgraded back. When I upgraded I got the new downloads ribbon at the bottom of the screen and no longer had the downloads window. However, for whatever reason I decided to turn the window on. But when I downgraded I realized that this interferes with programs that I had previously set up to download directly to a certain program. Bottom line... I do NOT want the downloads window.

    I know you can go to Tools, then Options, and click the Downloads tab and configure how you want it that way. Do you have the Download Manager Tweak as an add on?

  • How to find out about the SMTP Server

    Hi,
    I have been trying to configure groupware in the portal - in particular I want to enable the sending of emails through the portal. I already have a how-to-guide that that seems to explain the steps quite well. However, it mentions that I need to know the SMTP Server of the email. Can you tell me how to find out about the SMTP Server? Where do I need to look for the name of it?
    Thank you and regards,
    Katharina

    Hi Katharina,
    you need the SMTP server of your company. This means you can't look for it in the portal, but have to ask the responsible person in your company.
    Kind regards,
    dominik

  • How to find out whether the system user is a vendor or a purchaser

    Hi,
    I am working in SRM 5.0. I have a requirement that some fields of Bid invitation can be visible by purchaser but not to bidder.
    How to find out whether the system user (user id though which system logged in) is a vendor or a purchaser. Kindly help me to resolve this issue.
    Sushmita Singh

    check his role.
    is surrogate bidding available for that bidder.
    via surrogate bid , purchaser can submit bid on behalf of the bidder.
    masa is correct
    pposa_bbp - search via user . so he might be  a purchaser.
    maintain business partner -supply your bidder bp number -edit
    go to bidder data .Under bidder data you must flag "PERMIT PROXY BIDDING"
    regards
    Muthu
    br
    muthu

  • How do i set up the viewer window so I can read the email in the bottom section of the window

    how do i set up the viewer window so I can read the email in the bottom section of the window? Someone sat at my computer and changed it and now I cannot restore it.

    Mail Preferences, Viewing, Use Classic Layout.

  • My Mail preview window stopped displaying full messages when I select a mail item (empty) on iMac. How do I get back the preview window?

    How do I get back the preview window so that I don't have to click open each message? Thanks in advance! --Cheryl

    Hi LeoLady!
    Having the preview window up to get a quick and good overview of your mail is very handy and I understand you would like to get that feature back!
    Have you tried to close the mail app using cmd+q and opening again? Have you tried taking your mouse the whole way to the right in the mail window and try to "drag" the preview window back out again?

  • HT4009 I did not download the in-app purchase at time of original App download, now I cannot figure out how to find and download the in-app purchase.  Please help!

    did not download the in-app purchase at time of original App download, now I cannot figure out how to find and download the in-app purchase.  Please help!

    Hello paddyliverpool,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/ht1933
    Refund is an option.
    Best of luck,
    Mario

  • I have an app on my iPhone that I want to download on my iPad . Red icon with Chinese writing. Because I do not speak Chinese I do not know how to find it. The application is photography by different individuals of their vacations/trips. Can someone help

    I have an app on my iPhone that I want to download on my iPad . Red icon with Chinese writing. Because I do not speak Chinese I do not know how to find it. The application is photography by different individuals of their vacations/trips. Can someone help

    On your iPad  go to the App Store icon, Tap on the Purchased Tab.
    It will show you all the Apps that have been bought with the Apple Id currently in use by the iPad.
    Assuming its the same one being used on the iPhone, you should be able to find the App there.
    To further help you find it you can tap on the "Not on this iPad" button to limit the results to just Apps not currenlty installed on your iPad.

  • How does a servlet close the browser window?

    How can a servlet close the browser window it is running in?

    I'm running the servlet by calling it in a browser window, passing parameters using POST, with the parameters appearing at the end of the url.
    Is there another way to run the servlet, without it affecting the browser window? That would be a better solution.

Maybe you are looking for

  • How do I open .wim files on my macbook pro?

    When my hard drive crashed for the second time on my HP computer, I knew it was time for a change. The HP help menue gave me the option to backup everything onto an external hard drive. I did this and now when I try to open the files inside, they are

  • URGENT...user wronfully termination date (abscence in inactive period)

    hi all, i have a user who wronfully terminated an employee through hr with the termination period (supposed to be period that the employee was working). is there a way to change the action from termination to hire? and then do another action for the

  • Same account, 2 different computers

    I have 2 computers, a Galaxy Tab and an Acer laptop, with Skype installed. I have an online number, and it willl ring only on the laptop if I have an incoming call. Do I need a separate account for each computer?

  • About barcode in report 6i

    Hi i read document of java bean barcode. but i work with report6i and in this document i read i must i had to use barcode font . i dont have this font i couldn't find any information about it. i appreciate you if u can help me. by regard Nahid Bastan

  • C220 M3 System Status LED is Amber

    Hello All, I have a C220 M3 server that is running one of our CUCM subscribers and Unity Connection subscriber. I noticed today that it has an Amber light on the chassis. I have looked in VCenter, the ESX host screen, and even the Call Manager applic