How to hide a cmd.exe window while my app run

When i start my application whit .BAT, console window show's too.
How can i hide this console window?

I would say use a native installer if possible. Install4J is a very reasonable price, $400 or something and works on windows, mac osx and solaris/linux, provides native launchers on all platforms and can do quite a bit more than that. Very small price to pay if you are working with commercial apps or have a little money to spare and want your apps looking good.
VAInstall I think is a free opensource that does alright, a bit more complex to use, but works. I think it has an .exe launcher on windows.

Similar Messages

  • Cmd.exe window does not open in apache jserv

    cmd.exe window does not open in apache jserv
    I need to call a dos program from a servlet running on apache jserv1.1.
    I develop with Jdeveloper wich has got a built in webserver to debug servlets.
    With Jdeveloper it works fine (a dos windows opens), but when I deploy it to apache it doesn't work. The process is started, but no dos window opens. Should I change settings of jserv, is this a bug, does anyone know?
    The (beta) code looks like this
    String cmd = "c:\\temp\\cmd.exe /c \"start /min /wait /b dosprogram \"";
    Process p = Runtime.getRuntime().exec(cmd);
    BufferedReader lsOut = new BufferedReader (new InputStreamReader (p.getInputStream()));
    BufferedReader lsErr = new BufferedReader (new InputStreamReader (p.getErrorStream()));
    try {
    p.waitFor();
    int completionStatus = p.exitValue();
    out.println( "<br>Exit Status: " + completionStatus );
    catch( InterruptedException ex ) {
    out.println( "Executable program (" + cmd + ") was interrupted." );
    while(( line=lsOut.readLine()) != null) {
    out.println("<br>lsout====>");
    out.println(line);
    while ((line2 = lsErr.readLine()) != null){
    out.println("<br>Errout====>");
    out.println(line2);
    catch(SecurityException e) {
    out.println("Security Error: " + e);
    catch(IOException e) {
    out.println("IO Error: " + e);
    catch (Exception e) {
    out.println("ls error " +e);
    null

    Is apache running as a service?

  • How to create a pop up window while creation of the delivery note.

    Hello Experts
    How to create a pop up window while creation of the delivery note.
    As soon as we go in to delivery note creation screen in VL01N, immediately a pop up screen should be displayed on the screen containing the following details,
    For e.g.
    Str. Loc     Qty      UOM
    DE01        100        KG
    DE99          50        KG

    Dear all,
    i m having two document numbers for invoic of same types such as output type print program and smartform.
    biut the issue is im getting print preview for one invoic and for another invoic i m not getting any print preview.
    Directly the cursor comes to initial stage of vf03.
    suggest what to do
    Thanks and regarnds
    ravi

  • How to hide a drive in Windows 7, Service Pack 1

    Could someone please tell me how to hide a partitioned drive (example my drive E:/) so that my kids cannot access it on their separate, non administrative account?

    How to hide a partition in Windows?
    Right-Click on My Computer [Computer in Windows Vista and Windows 7]
    Click on Manage
    From the list of options Click on Disk Management that will be located in the left-bottom section
    All your hard disk and its partitions will be show in the right hand side
    Right-Click on the partition that you want to hide and select "Change Drive Letters and Path"
    Click on "Remove" and click "Yes"
    Your drive will now be hidden in my computer
    To unhide the drive :
    Go to Disk Management Right-Click on the hidden partition [there will not be a drive letter on the hidden drive] again select "Change Drive Letters and Path"
    Click on add and select an appropriate drive letter.
    Click Ok
    Now the drive is unhided.
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • How to Hide/show the columns data while doing Drill down or drill up

    Hi ,
    How to Hide/show the columns data while doing Drill down or drill up in webi report .
    Does it possible BO 3.1 version ?
    Please suggest me on this.
    Thanks & Regards
    Venkat

    While that is not there yet, you can make use of the show when empty yes/no in combination with alerters.
    So I have an alerter applied to every cell of the table.
    When a condition is true (say I drilled down) I just put = "" in every cell, emptying the table,
    because its now empty and doesn't need to show, it wont.
    For the detail table I use the opposite, so when you drilled down it becomes visible...
    Hope this helps all that do not have 40 yet
    Good luck,
    Marianne

  • How can I read the EXCEL file while Program is running in background.

    Hi all Expert,
    How can I read the EXCEL file while Program is running in background.
    Thanks

    you need to place ur excel file on application server and follow this thread: Reading an Excel file from the application server?
    loots of information if you can search forum.. thanks

  • How to hide the report progress window

    hii all
    i am running a report using a run_product builtin from a form but i want to hide the report progress window
    how can i do that
    thanks

    Ayman,
    the only way to do this is to run teh Reports in asynchronous mode which will have it running as a background job.
    frank

  • How to hide report background engine window

    hi
    i m using reports6i and when i run a report thorugh forms,reports background engine window also invoke and i want to hide that winodw .any one know how to hide report background engine or is this possibl. if so plz let me how to apply this.
    thnx in advance

    Hi,
    call report using this code
    begin
         srw.run_report('report='||path_forms('R')||'SUB_LEDGER_BALANCE.rep
    L=' || :control
    || ' cdate=' || to_char(:cdate));
    EXCEPTION
    when srw.run_report_failure then
    srw.message(30, 'Error runing reports.');
    raise srw.program_abort;
    end;
    if u use this code for calling report then report background engine window not open also u can open multipul report in same time
    Rizwan Shafiq
    www.rizwanshafiq.blogspot.com

  • How to hide save changes alert window when no changes made to the form

    hi,
    in my form when i close the form without making any changes it displays do you want to save the changes alert.how to hide this alert when no changes are made to the form window.
    regards
    Yesukannan

    Be advised that this solution will also exit the form without saving the changes and asking anything if the user did make changes.
    You're probably changing some field from a PL/SQL trigger (hint: post-query or when-new-record-instance are likely). If you set the value of a field from a trigger or program unit that also marks the record as changed for Forms. Forms will then ask to save the changes when exiting the form.
    If you want to prevent this, reset the record status after you change the field in the PL/SQL code.

  • How do I remove/disable the Windows 8 Mail App

    How can I remove the Windows 8 Mail App from my computer? I am unable to select another mail provider and I absolutely do not want to get my Passport aka Windows Live ID involved with my mail under any conditions whatsoever.
    I have a vbs script that installed another mail provider in IE9 but it doesn't seem to work with Windows 8/IE 11.   I want this mail application off my machine entirely.
    How do I accomplish that?     
    Athena

    Athena
    You don't need to un-install it but if you still want to simply right click the mail tile in start>uninstall.
    Wanikiya and Dyami--Team Zigzag

  • How to solve "server.Error.Request" error while i am running this application every time

    hi friends,
               i am using flex 4 mxml web application with as3.while i am running my application i got the following error,
    i dont know how to solve that, any one help please?
    ERROR:
    [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: https://workplace.intuit.com/s/bf2cg7xxk/companyInfo.jsp"]. URL: https://workplace.intuit.com/s/bf2cg7xxk/companyInfo.jsp"]
        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvok er.as:290]
        at mx.rpc::Responder/fault()[C:\autobuild\3.5.0\frameworks\projects\rpc\ src\mx\rpc\Responder.as:58]
        at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.5.0\frameworks\projects\r pc\src\mx\rpc\AsyncRequest.as:103]
        at DirectHTTPMessageResponder/errorHandler()[C:\autobuild\3.5.0\framewor ks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:368]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/onComplete().
    Looking for usefull suggession.
    Thanks and regards,
    B.venkatesan.

    If you are a developer , please post this in the developer forum, Thanks!

  • How can I continue using adobe Pro while OCR is running

    We are using Acrobat Pro X, and deal with scanned PDFs that reach up to 300 pages. While OCR is running, Adobe cant open any other PDF files or let us work in it at all.
    is there a fix or a trick we can use to get around this?

    You can use Adobe Reader for viewing PDF files.

  • How to open page in new window while handling event on link.

    Hi all
    I have a requirement where page should be opened in new window when I click on link.My item style is 'link'.Despite of mentioning target frame _blank, I m not able to open it in new window.I m handling event by setting Action Type as fireAction.I hope this might be the reason because of that this happened. Can somebody suggest some solution so that I can open it in new window.
    Thanks,
    Bhupendra

    Hi ,
    though i am not able to answer, i can get some answer for my question.
    How the link item is handled thru the ActionType and event in the Client Action..?
    The reason for this question is that we are trying to extend the customer search page in AR - EBSR12. there the search result page has the Account Name as a link and the Action event says viewAccountName and the action type says firePartialAction. I am trying to understand this so that i can add more parameters to the link so that i can use them in the target page of the link..
    Any help is appreciated..
    Thanks
    Chidam

  • How to Hide SSID's on Windows 8?

    hello
    i wanna hide SSID of USB NIC wireless router on winndows 8.
    more description:
    i create a wireless router on my windows 8 by USB wireless adapter
    and i want to hide the SSID of this wireless connection.

    It is not entirely clear to me what you are trying to configure.
    in general 'hiding the SSID' of a wireless network is configuring the access point to not broadcast it's name, so it remains hidden for most users.
    If you are using the builtin 'Hosted network' functionality to turn you windows pc in a virtual access point, you cannot configure these kind of details.
    if you are using a third party software to do this, you shoyuld refer to the software manual/vendor or developer.
    If you are using a hardware access point, refer to the documentation/vendor for assistance.
    MCP/MCSA/MCTS/MCITP

  • How to hide _layouts in the URL while accessing an application page

    Can we create any friendly URL while accessing any custom application page. I don't want to show _layouts in the URL So how can i mask the URL.

    The application pages should be in the _layouts folder (or _admin for application pages for central admin).
    You can put pages at friendly urls, but then they should be site pages, which you provision using a "Module" element from Visual Studio. But be aware that then users will be able to modify them using SharePoint designer.
    There are methods to achieve this somehow, but you should not do it in sharepoint.

Maybe you are looking for

  • ABAP Mapping :: for multi files

    Dear Experts, We are doing an Idoc to file interface, using ABAP mapping. This is 1:n mapping i.e receiver message interface is 0..unbounded. We have achieved the mapping for 1:1. But when I test for multi, i get an error in moni saying Parsing error

  • My group MMS messages can't be received, only sent?

    How do i fix this? I was able to receive and send earlier but now I can't, I can receive regular texts and iMessages fine but not getting any MMS and i know that there are messages being sent to me. Someone else in the group chat says that they recei

  • I Want My Mac To Talk

    Hey, I have a very specific question: How can I make my mac say goodnight when it puts itself to sleep? I've heard of this being done, and I would like to try it myself. I played with a bunch of settings in the "Universal Access" and "VoiceOver" menu

  • Drop down in alv based on data in other calumn of same row

    Hi Guys, I need to provide drop down in an ALV based on data in other calumn in same row. if i have two calumns country and region in my alv then drop down values for region should come depending upon country value. i went through lot of blogs and fo

  • GRC VirsaCCRiskAnalysisService userid input parameter GRC 5.3

    Hi Experts, I'm trying to find out the meaning of all the input parameters that this Web Service contains ( VirsaCCRiskAnalysisService ). For the simulation of a Risk analysis I see the System, Role and many parameters that are optional, but the thin