Opening a file with any executable .exe files

plz tell me if u have ne idea abt the opening any given file or the information contained in it with
another application i.e .exe file for example the text document has to be opened with a textpad..
it is very urgent..plz
neha

See if this is useful.
what made you ask this question in Swing Forum ?
Process P=Runtime.getRuntime().exec("notepad "+"C:\\A.txt");        
//Process P=Runtime.getRuntime().exec("D:\\j2sdk1.4.2_05\\bin\\javac.exe  "+"Demo.java");
InputStream err = P.getErrorStream();
InputStreamReader in = new InputStreamReader(err);
BufferedReader buff = new BufferedReader(in);
String line = null;
while ( (line = buff.readLine()) != null)
System.out.println(line);
int exitVal = P.waitFor();
System.out.println("Process exitValue: " + exitVal);

Similar Messages

  • Can´t open iDvd 6 with any previous project

    Hi, I have a problem, I have been using the iDvd 5 for a long time, now I start to use iLife 6 and I have maked some projects in iDvd 6, and all it´s perfect, but a few days ago I opened a file project to meke a new burn dvd but for some specifications of my client, I had to change of normal to panoramic, and the way I did it is; selecting a diferent theme (background) and then iDvd asked me if I want to change to a panoramic screen or not, I said yes, finally burn the dvd, everything it´s fine.
    But today, I want to use the iDvd 6 again, and when I click in icon, the program start to upload themes, appear the main window in gray (without the project) and "there is no more to do", I only force to exit.
    I I have been trying reloading the ilife6 but dosen´t make a change, do you have any idea? Thanks, and sorry if my englih it´s no good.

    It´s a live/___sbsstatic___/migration-images/migration-img-not-avail.png/___sbsstatic_ __/migration-images/migration-img-not-avail.png/___sbsstatic___/migration-images /migration-img-not-avail.png
    I hope it's not a monster like Frankenstein/___sbsstatic___/migration-images/migration-img-not-avail.png
    If you update to QuickTime 7.1.2, that will solve the MP3 issue. It did for me.
    but what is this?
    I think you mean the "answered star" when members gain points that way. You'll see members "ranking" on the right-hand side of the main page of each different discussion group.
    I don't do this for stars, but thanks for supporting "the system."
    Have fun with iDVD/___sbsstatic___/migration-images/migration-img-not-avail.png

  • Applications only open with Unix Executable File!

    Safari and three other applications hang.
    I've tried a bunch of tricks to get them working right with no real success.
    I can run Safari (and others) by opening the Unix Executable File in the .App bundle!?
            *Can anyone explain to me why this works? 
    The applications also open fine in Safe Mode.
    Any help would be great! Thanks!
    More Detail Here: https://discussions.apple.com/message/18176135?ac_cid=142432#18176135

    Afer lots of struggling with this, I finally rebuilt Launch Services with OnyX and all is well again.
    Probably my fault for messing around with the FileSystem to often experimenting with this and that.
    With any luck this might hlep someone else too!
    Hackintoshes are computers too!

  • NVIDIA Tools now not working with PS CC, is there any other add-on besides NVIDIA that will open .DDS files in photoshop?

    I had no problems with CS6 PS, but since I upgraded to PS CC, NVIDIA Tools is now not working and crashes when I try to reinstall the plug-in into PS CC. I checked NVIDIA's forums and found ZIP from them about this problem. So I am asking in here, is there another plug-in that will open .DDS files in PS? I am using Windows 7 Ultimate x64 for the OS, and I know the PS CC is 32 bit. Until I can resolve this issue, I am unable to do repaints of PMDG aircraft for my VA. Any suggestions would be greatly appreciated.

    I had a similar issue but i solved it following the instructions explained here https://wiki.archlinux.org/index.php/Bu … l.2FNVIDIA.
    I also reccomend you to install the bbswitch package which disables NVIDIA discrete graphics card when isn't used.

  • I have an old mpg video file, taken with a very early model "smart phone", that opens and plays fine in my newly "rebuilt" iPhoto library. I cannot open, edit it or share it with any other software. How can I fix it, to be able to do anything with it?

    I have an old mpg video file, taken with a very early model "smart phone", that opens and plays fine in my newly "rebuilt" iPhoto library. I cannot open, edit it or share it with any other software. How can I fix it, to be able to do anything with it?
    Detail:
    I've recently purchaced a 4TB Thunderbolt drive to store my "vast" music and photo libraries. iPhoto had an issue reading the moved library, so I bought and used iPhoto Library Manager to "rebuild" it. Apart from much of the original data such as date taken & camera used etc, it appears to be working well. The aforementioned mpg video was taken some 9 years ago, using an early model "iMate" smart phone, and opens and plays fine on iPhoto, but I cannot open it with anything else, (I've tried iMovie, VLC players, Wondershare and Handbrake) nor can I share it. I just want to edit it, and share it with family.
    Any help would be appreciated...

    No - not iMovie, VLC, Wondershare or Handbrake... Quick time starts with a "CONVERTING", then I get
    I've looked at the "tell me more" links, tried downloading some of the movie players there. I'm begining to think the file is corrupt.
    Thanks for getting back to me again though - appreciate it...

  • I opened a file on my desktop that I don't remember putting there.  It turned out to be a keychain certificate from a client of ours.  Does this mean that they were spying on me?  What is the deal with that?  Any ideas?

    I opened a file on my desktop that I don't remember putting there. We use many photos and I thought it was a photo file I was looking for. It turned out to be a keychain certificate from a client of ours.  Does this mean that they were spying on me?  What is the deal with that?  Any ideas?

    Interesting tid bit.  I created an AAC of the original file, deleted the original MP3 from my library and also deleted the Clean matched track from the icloud.
    Result is that it matched with the explicit version of Mrs. Officer this time.
    What I am curious about is which songs this is happening for. I've went thru a few batched of about 500 songs at a time and redownloaded in 256k for many tracks. Sadly we don't have people to bring this to our attention and I have so much music that it's impossible to go thru every song to make sure I am getting the right version.

  • Why can't I open any pdf files with any version of Adobe Reader after I upgraded?

    Upgraded Adobe Reader not too long ago and after then it stopped opening pdf files. I had an old version of Adobe Acrobat and that opened the file no problem. I tried to downgrade Adobe Reader, but that didn't fix the problem.
    Just tried to open Adobe Reader by itself without any files and it still crashed.
    FYI – I’m using Windows 7 (Microsoft 2013)

    It's not a good idea to have both Acrobat and Reader unless they're both of the same version number (like X or XI). Such a situation can cause all kinds of conflicts and crashes, as you've seen. Also, if you have an old version of Acrobat it's might not be compatible with your OS any more.

  • What version of GB is needed to open .band files created in GB for the iPad. I am running GB '08 on my desktop PPC G5 with OS X 10.5.8, so I can't go to GB '11. Any solution?

    What version of GB is needed to open .band files created in GB for the iPad. I am running GB '08 on my desktop PPC G5 with OS X 10.5.8, so I can't go to GB '11. Any solution?

    jerryfromtorrance wrote:
    What version of GB is needed to open .band files created in GB for the iPad.
    6.0.2
    jerryfromtorrance wrote:
    I am running GB '08 on my desktop PPC G5 with OS X 10.5.8, so I can't go to GB '11. Any solution?
    although i ran GBX6 under 10.5.8, i do believe an intel processor is required. that means that the only complete solution would be a new computer, i'm afraid.
    the best you could do is export each track as an audio file from GBi and drop them into your GBX project

  • Is there any photoshop API functions can let me open a file with photoshop in my plugin?

    I used  the function system("open file"), it works well in any other program.
    For example, system("open 1.psd"), this code can use photoshop open the file 1.psd .
    But it just don't work in my plugin program.
    How can I use photoshop to open a file in filter plugin at Mac OS X?
    Is there any photoshop API functions can let me open a file with photoshop in my plugin?

    Go to settings> general and scroll down to multitasking geastures, turn them on and by swiping with four fingers from the right side of the iPad to the left and back you can switch between apps. I think this is what you need I'm not sure, I hope it helps

  • Keep getting error code 2048 when trying to open wmv files, says realplayer cannot open with the installed version of Quicktime, any suggestions?

    Keep getting error code 2048 when trying to open wmv files, says realplayer cannot open with the installed version of Quicktime, any suggestions?

    wmv is a Windows Media format.  I don't know why Realplayer is coming into it since that deals primarily with Real format files and maybe a few generic formats.
    You need
    Free Flip4mac QuickTime player components - http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx
    After installation a new Flip4Mac pane will appear in System Preferences.  Make sure you set the boxes to ensure that it will play WMV files in Quicktime.
    or play the files with VLC
    VLC media player - http://www.videolan.org/vlc/ - general media player that plays just about anything.
    While you're at it you might install:
    Perian codecs for Quicktime - http://www.perian.org - plugins to add functionality to Quicktime for playing additional audio and video formats
    Quicktime audio problems, Perian, VLC - http://discussions.apple.com/message.jspa?messageID=9013669 - read note about uninstalling prior DIVX support before installing Perian.
    Perian doen't do WMV but it's handy to get many things to play in Quicktime.
    Note, if these are protected WMV, nothing on a Mac will play those (unless you also have Windows installed).

  • I am having issues with trying to update safari.  It keeps saying, "Safari can't open the file "Safari_Updater-2.exe" because no available application can open it.

    I am having problems with trying to update safari and this keeps popping up, Safari can’t open the file “Safari_Updater-2.exe” because no available application can open it.  Also, I have a bunch of pops and I have my pop up blocker on but I keep having pop ups. 

    The info below should help with your pop-up issue.
    Check the links below for options to remove the Adware
    Easy method: http://www.adwaremedic.com/index.php
    Somewhat more difficult method: Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support
    And, read this article below to see how the Adware arrived on your computer.
    How to install adware
    The Safari update can be found at The App Store updates section. Where are you obtaining the file?

  • Every time I open Firefox 4 I get a popup box saying: "OPENING FIREFOX SETUP 4.0.1.exe, Binary File from..." with different download link addresses

    Every time I open Firefox 4 a popup box keeps trying to get me to run setup again. The box always reads: "Opening Firefox Setup 4.0.1.exe, Binary File from...." followed by a link address, which is different every time. Recent addresses: http://mirror.umoss.org.......also http://mozilla.mirrors.tds.net....also http://mozilla.ussg.indiana.edu
    and so on.
    Help! Thanks!

    I am having the same problem and it seems to have just started (6/15/11). I have tried reloading the program several times and even the first release of the 4.o with no success. The same scenario also occurs when I click to open a new "tab" after the browser is already launched.

  • Even with Apple Quick Time 7.7 I cannot open, much less play, any wmv files.  It gives me only the code behind the file, never the video. What's going on?

    I never have been able to open wmv files/attachments with the Apple Quick Time player I've got on this MacBook Pro.  A click on any wmv file leads me only to Text/Edit and all the code behind the file.  What is going on?  I have Quick Time 7.7 (1680.25).

    Those are Windows Media files, and they're not supported natively in any version of QuickTime. You can view them in some third-party applications, such as VideoLAN Client, or you can install the Flip4Mac QuickTime component which makes them playable in QT Player.

  • Cant open any attachment or downloaded file with any office 365 for small bussines

    I cant open any e-mail attachment or downloaded file of any kind with any application in office 365 for small bussines. Since I need it for bussiness need help NOW. Thank you.

    Hi,
    Did you get any error message when you tried opening or downloading the attachment?
    Are you viewing attachments in Outlook Web App or Outlook desktop client? If you were using OWA when this issue happened, please have a look at this KB article and see if it applies:
    https://support.microsoft.com/kb/2852113
    Since this forum focus more on Office desktop client side questions, if it's an OWA issue in Office 365, I'd recommended you post a question in the Office 365 Community forum:
    http://community.office365.com/en-us/f/default.aspx
    The reason why we recommend posting appropriately is you will get the most
    qualifiedpool
    of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    If I've misunderstood something, please feel free to let me know.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Does any one know what the matrix.dms is? And why it is in my picture folder? When I open this file the unarchiver takes over and I see my entire hard drive when I scroll down I see the matrix.dms file with in the unarchiver.

    Hello everyone. Does anyone know that the matrix.dms file is? And why it may have came to be in my picture folder? When I opened the file the unarchiver took over, then I saw my files in the unarchiver window. I then scrolled down and I saw the same matrix.dms file within the unarchiver window. I made a video of what saw when I tried to open the file, so as to aide in your understanding of reason for my perplexion at this file. Thank you for your help. https://www.youtube.com/watch?v=2QeWH9hRnro&feature=youtu.be

    Hi EMT-B,
    It sounds like you have done all the troubleshooting needed to narrow down your issue with the iPhone camera to hardware. Based on the information you have provided, it appears your iPhone needs to be serviced. The following link should help you get started with the process and has links with additional information on topics such as warranty and service pricing, battery replacement, and express replacement service.
    Apple - Support - Service Answer Center
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipho ne
    You may need to change the country when you get to the page.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

Maybe you are looking for

  • Photos jittering up and down?

    Hi all, as a new user to elements 13, I did a quick movie as a practise from some photos and videos. It was mainly photos with a few clips and was in total about 6 mins long. I did notice when watching it on TV the photos were slowly moving up and do

  • Automated site transfer between portals

    I tested out the automated site transfer process... seems to work as advertised, although you may have to add a non-partner email address that you control as an admin user, as it seems to require a "user' to approve, and the receiving partner never g

  • CS6 Design and Web Premium Link is a zip file I need to run the program on my Windows 8.1

    I'm having trouble with the zip file for the Creative Suite CS6 Design and Web Premium. Please show me a link that I can run the program on my laptop. Thank you.

  • Recommend a functional and fast HD encoder for .m2t files hat "copy freely"

    Now that HD .m2t files are becoming very common place, what program do you recommend to encode into mp4 format? I'm especially referring to 2048 and 2112 PID which are .m2t files and wanting to encode into .m4v files for ATV. Currently Handbrake chok

  • Library file not the same when inserted.

    Hello all. In Dreamweaver 8.0, I have a library item. When I insert it into a page, I thought Dreamweaver kept inserting an older version. I open the library file from the Assets panel, make sure it is correct, save it, hit the refresh button in the