How i can open a new command prompt from one java from

hi
can any one help me that how i can open a command prompt by using the java program file .
regards,
ukbasak

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html#exec(java.lang.String)
and several overloads.
Also
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ProcessBuilder.html

Similar Messages

  • How to use -open option at command prompt

    Can someone update me with how to use -open option while launching javaws from command prompt. Sun documnetation (http://java.sun.com/javase/6/docs/technotes/tools/share/javaws.html#runoptions) is not very clear.
    I am trying to do something like this
    javaws -open prop1 firstName prop2 lastName http://myapp.jnlp
    However the above does not work. It says incorrect argument firstName.
    Cheers
    Amit

    The syntax as present in JWS documentation
    javaws [run-options] <jnlp>
    [run-options] Command-line run-options. run-options may be in any order. For a discussion of the various run-options, see RUN-OPTIONS below.
    <jnlp> This can be either the path of, or the Uniform Resource Locater (URL) of the JNLP (Java Network Launching Protocol) file.

  • How do I open a new browser window from Flash

    I wish to open a new browser window from Flash and when the new window closes to return to the location from whence I started.
    ThomasChen

    The command to open a new window would be the "_blank" part of a command to link to a web page in the code below.
    navigateToURL(new URLRequest("http://www.anothersite.com", "_blank"));
    As far as the new window closing and getting back to where you were in the original window, I don't understand where that original window might have gone to... You should be wherever you last left it.

  • I already have an iTunes account but need to open a new one as I have many apple products but am limited to how many I can use my iTunes account on. How do I open a new one please. Thanks

    Hi I already have an itunes account registered to my address and email address.
    The problem is, I have many apple products but i'm limited to how many products I can use one itunes account for.
    How do I open a new itunes account for the same address please.
    Thanks for your help.
    Sam

    Well, you can probably do it, but then you also have to buy the products again to use them from the other account since they cannot be transferred or shared between accounts.  So if you have 7 computers and want the same movie authorized on all of them, you'll have to buy the movie twice and then authorize some devices on one account and others on the other.
    Do you really have >5 devices, or is it just that you have a lot of devices authorized that no longer exist but are tying up authorization slots?  If that's the case, you can deauthorize things.
    iTunes Store: About authorization and deauthorization - http://support.apple.com/kb/HT1420 - and another helpful post: https://discussions.apple.com/message/17828050
    I have no idea how to do multiple accounts but you may need to create a new e-mail address (plenty of free ones out there).

  • How can I open a new browser window from UIX?

    I need to open a new browser window from an event handler. How that can be done? HELP!
    Thanks!
    Martin Patrici

    HTML doesn't really let you do this on the server side; the client is in charge
    of creating new windows, not the server.
    If you know that clicking a certain link/button, etc. will always raise a new window,
    then you should use Javascript or "targetFrame" accordingly.
    If the decision will only be made on the server side, then you could reload the current
    window, only this time use an "onLoad" on the <body> to raise a window.

  • I am having mac book air 2012model i had installed mavericks and use it, i long press command and power button at a same time and i saw the command prompt, from that i had formated the total hard disk. how to i want to install the OS again ?

    I am having mac book air 2012model i had installed mavericks and use it, i long press command and power button at a same time and i saw the command prompt, from that i had formated the total hard disk. how to i want to install the OS again ?
    i tryed with download mavericks but finally its saying a error message like cant conect to istore like that its saying and every thing is clear like internet and other stuf i tryed with 3times no progress same error pls help.. i bought this lap for my bro with his apple id only we use it now he got a new mac book pro so he gave to me so i formated and use it i use my apple id is that problem come because of changing apple id ? pls eplain

    Firstly, what is the source of the 10.6.4 disc? Is it the original installation disc for your MacBook, or one 'borrowed' from another computer?
    It isn't the retail version, because that's 10.6.3.
    Assuming it's the correct disc (i.e. the one that shipped with your Mac), you need to boot from it again.
    OK the language page.
    From the installer screen, ignore the continue button, go to the menu bar and choose Disk Utility from the Utilities menu.
    In DU, select your internal drive in the sidebar (the top item with the makers name and serial no.).
    Run Repair Disk. If that comes up as disk OK, click the partition tab. Select the partiton from the drop-down above the graphic; 1 partiton is all you need.
    Go to the options button and ensure that the partition scheme is GUID and the file system to Mac OS Extended (Journalled). Name the partiton (usually Macintosh HD), click Apply.
    When the Macintosh HD volume appears below the drive name, quit DU and see if you can then install.
    If the screen after the language screen doesn't show the menu bar, it may be necessary to use another Mac to do the job with the MB in Firewire Target Disc Mode. If it won't boot in TDM, or the MB doesn't have FireWire then it's getting very difficult.

  • How i can Open/run VBS file

    Hi ,
    How i can open or run external *.vbs file from director by
    pressing in o button on stage
    i try mostly every things like:-
    - open "XXX.vbs" with "cscript.exe"
    - baOpenFile(XXXXXXXXXXXXXXXXXXXXXXXXXXX)
    - open moviespath (XXXXXXXXXXXXXXXXXXXX)
    no things works could any body can help

    If you can double-click on a file and expect it to open, then
    baOpenFile
    is the best option (assuming you have BuddyAPI installed).
    The syntax is like this:
    baOpenFile(the moviePath&"XXX.vbs","normal", FALSE)
    Check out the BuddyAPI docs for more specifics on that or
    what the
    different parameters mean.
    If you need to specify which program to open the file with,
    then the
    open..with.. command if best. The biggest problem with that
    is that you
    need to include the entire pathnames like this:
    open the moviePath&"XXX.vbs" with
    "c:\myProgram\cscript.exe"
    Change the addresses to whatever is correct for your project.
    If you
    don't know the path to one or both of the programs, then you
    are kind of
    out of luck.

  • How do I open a new tab from address line?

    How do I open a new tab from address line?

    You Will have to hold down the Alt key and press Enter to make the link open in a new tab without using an extension.
    By default links always open in the same tab.
    You can search the Add-ons website for an extension if you want to change this default behavior.

  • How I can Open a Project CS5 in CS3?

    How I can Open a Project that was created in After Efects CS5 in After Efects CS3?
    Any Pluging that upgrade to read New Files in Older Version ?
    Thans For any Information.

    Ok thank for the information.
    So I have the project in a Folder, you mean open and star working with one single file?
    I dont have any experence in the program so you can recomend me any tutorial for newbies, I want to learn to do my own Introduction to my videos
    Thank

  • I received a Pages attachment in email, but I can't open it. Says it's missing an "index.mlx" -- any idea what that is and how I can open the file?

    Received a Pages attachment in email, but can't open it. Error message says it's missing an "index.mlx" -- any idea what that is and how I can open the file?

    Many thanks ... after many trials and effort, the sender admitted he doesn't know what he did - he's new to Apple - so guess he'll have to get some training!  

  • HT5567 How I can install the new software 6.0.1 in my Iphone

    How I can install the new software 6.0.1 in my Iphone 4

    Open iTunes on your computer.  It should prompt you with the info that there is a new operating system available.  The safest way to go, is to download only.  Then when you are ready to let your phone sit for a while, choose to update it.

  • Please advise how I can stop all old email messages from my mac transferring to my new iPhone

    please advise how I can stop all old email messages from my mac transferring to my new iphone5 every time I open up email on it.

    Try Here... iPhone User Tip: Syncing to a New Computer...
    https://discussions.apple.com/docs/DOC-3141

  • Hello, I would like to know how I can open a file without downloading it? Thank you

    Hello, I would like to know how I can open a file without downloading it? Thank you

    matrix wrote in message
    news:[email protected]..
    > I tried that, attached is the vi.
    > My actual aim is to allow data to be plotted to the graph 4 24 hours,
    > after which, it should clear the chart and start at the beginning
    > agin.
    > Does this vi do this.
    No. The attached is the simplest way of modifying it to do as you want. I've
    sped things up a little to make it obvious.
    > Will the array be able to keep all the data, is there a way i can do
    > it without arrays, i.e. kind of dynamically, and therefore try to save
    > memory usage.
    You already are. You're making the arrays as you go along so only the memory
    needed for the data that's in the plot is in use at any one time. To do it
    without storing
    arrays at all you'd need to keep retrieving the data from
    the XYgraph, adding the new datapoint and writing it back. Messy and I
    suspect incredibly inefficient.
    You're going to use the memory in any case- a better option would be to
    pre-initialise an array and fill it slowly. At the end of each 24 hour block
    zap all the data and start again without destroying and recreating the
    arrays. Or if you're only doing the 24 hour wipes to save memory, simply
    start again at the start of the buffer woithout erasing the previous data
    and you always have 24 hours of data to liik at once the system's running.
    Do a search for keywords like "pre initialise" or "circular buffer" on
    ni.com
    [Attachment xy-time_modified.vi, see below]
    Attachments:
    xy-time_modified.vi ‏51 KB

  • I am unable to open new tabs, in any way I attempt to do so. I have checked the settings and they are fine, so it's not those. The only way I can open a new tab is to right click on a link and instruct it to open in a new tab.

    Any way I attempt to open new tabs, be it clicking on the new tab button or using the short-cut Ctrl-t, I am unable to open any new tabs on my browser window.
    The only way I have found that I can open a new tab is to right-click on a link and instruct that link to open in a new window.

    Try disabling the Ask Toolbar extension.

  • The only way I can open a new tab is by right-clicking a bookmarked site and selecting "Open in a New Tab." I can't click on the New Tab + or CTR+T or open via File. WHY?!?

    The only way I can open a new tab in Firefox is by right-clicking a bookmarked site and selecting "Open in a New Tab." I can't click on the New Tab + or CTR+T or open via File. WHY don't the other means work?

    The Ask Toolbar is causing that in the Firefox 3.6.13+ versions. Uninstall that extension.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

Maybe you are looking for

  • Kernel 2.6.24 and UVesaFB

    I have recently installed fbsplash from the AUR, and would like to use uvesafb, now included in the vanilla kernel. Now I am wondering why I can't get any higher than 640x480. When I try and put in a line with something else, it is just ignored. DonG

  • Problems with End User License Agreement

    In April this year after trialling Acrobat Pro I decided to take out a year's sub to Acrobat Create. Since that time however I have been unable to open any pdf clicking on a web based (e.g. Google) url. Each time the following message appears - "Befo

  • Leading text for select-option in Query

    Hi, In sq02 in the DATA codebox, I have added a "select-option for field". However, the title/leading text for the field in the selection screen is useless. How can I program my own text for this selection ? PS I have tried selection-screen begin of

  • Language translation widget

    Hello, I'm looking for a language translation widget. I searched a lot many mac sites / forums and was not sucessfull finding a (free) translation widget (like Babel for windows) I'm looking at English / French & German. Any hints? regards,

  • Maybe making the switch from AVID to FCP, would like some input please.

    Happy T-Day to all. Would really appreciate any thoughts on this. I have many questions and need some answers from folks who are not always pushing AVID ( my vendor) I am a one man shop and use all Apple apps (LiveType, Motion, etc.) but have always