Host: suppress DOS command window

hi,
i have programmed the host command statement in a *.pll for running a batch file
my.pll
host('c:\test\my.bat');
my.bat
rwrun60.exe report=c:\test.rdf desname=c:\xyz\01.pdf ...
rwrun60.exe report=c:\test.rdf desname=c:\xyz\02.pdf ...
Windows opens a DOS command window box in which i can see the running commands. it is possible to suppress this window? my.bat should be run in background.
regards,
tom rakete

Use the no_screen parameter in your host command.
Note that you will have to rewrite this stuff differently if you upgrade to a current version of forms.

Similar Messages

  • Get rid of the DOS command window

    when I make a java application and run it I'll always have the DOS command window run in the backgound ..... how to get red of it?

    In windows execute it with javaw instead of java.
    abraham.

  • Too many DOS command windows

    Hello,
    When I start my local J2EE engine from inside the Management Console it launches a bunch of DOS command windows.
    Is there anyway to make those just go away after they have launched/started whatever process each of them handles?
    It's not a huge deal but it's annoying to see all those DOS windows on my Task Bar AND there is always the possibility that one of them will get closed by accident thereby "screwing up something".  It just seems kinda archaic to have all these DOS windows there the whole time I'm running my local engine.
    Thanks in advance for any help.
    David.

    Just cleaning up all my unanswered questions. Sorry that this will cause the post to 'bubble up' to top.
    When we upgraded to later versions of Netweaver Developer Workplace this was not an issue anymore.
    We're currently on 2004s sp09

  • Results of Query Wrap Within DOS Command Window.

    Greetings,
    I am using SQL*PLUS within the DOS command window.
    The results of my query is wrapping down the page, instead of using the entire width of the window.
    I have set the windows mode command, before going into SQL*PLUS:
    MODE CON: COLS=100 LINES=40
    So, I was hoping to have Oracle use all 100 columns, when displaying the answer set.
    Regards,
    Dave

    Hi Dave,
    Size of lines, columns and pages are controlled by SQL*Plus system variables
    For width of lines
    SET LINES[IZE] which defaults to 80
    For number of lines per "page"
    SET PAGES[IZE] which defaults to 14
    To control formatting, including width of indicidual columns you have COL[UMN], e.g:
    COLUMN your_column FORMAT a20
    For more settings:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16604/ch_twelve040.htm
    If you want certain settings each time you open SQL*Plus, you can add those to your glogin.sql
    Regards
    Peter

  • DOS Command Window flashes.

    I have multiple VI's that are built into exe's. They communicate with shared variables. I launch one exe manually, and it uses the System Exec VI to launch the other two. The main vi (exe) runs each time it is requested and quits (as it was dsigned to do). The man VI sends or retrieves data from the other two continuously running VI's (exe's). However, each time I request the main VI to run the DOS window flashes (ie, apears for a fraction of a second and then goes away)???

    If nyou do not wait until completed, it will simply open and close the dos window but continue running in the background.  Now, your LabVIEW code will continue to run although the executable has not completed.
    It would explain what you are seeing.
    Is that how you want your code to behave?
    You can run minimized, but still wait until completed.  To debug your code, don't run minimized to see what is going on.

  • Again...Suppressing the Java Command Window

    Hi,
    My invoking my java application with "javaw", I'm able to suppress the command window.
    None of the System.out.println() is now seen. Thanks for that.
    But there is another problem that I see.
    In my application, I run some batchfiles using the Runtime.exec
    with the "cmd" parameter. This is making a separate command window
    pop up from no where.
    This pop up is happening for every call I make ? Can this be avoided at all ???
    Or should I live with it ??
    Many Thanks

    You may have to live with that cause cmd runs with its own window. I haven't used this very much but for the little I have done, I can't ever seem to get it to hide, unless you decide to use START to run the activity and then call EXIT in the batch file so it closes as soon as it is done.
    ICE

  • NOT displaying the command window when running applications

    hi
    i'v been seraching all over the web for a way to get rid of the command window (dos shell) that appears when running a java swing based application (or any other). i currently have a batch file that loads all the required libraries into the class path and then calls the application's main class. problem is, the DOS command window stays open. is there any way to have it not display (obviously without losing my program in the process). at the very least can it be minimised automatically (just the dos window)?? though i think getting rid of it all together would be best.
    i would really love some help on this... very over seeing that dos window displayed...
    any help would be greatly appreciated.... thanks heaps
    Takis

    On Win NT
    REM get rid of commnand window
    start /B java swingapp
    REM minimize the command window
    start /MIN java swingapp
    REM for other options
    help start
    Hope this helps,
    Sathish.
    hi
    i'v been seraching all over the web for a way to get rid of the command window (dos shell) that appears when running a java swing based application (or any other). i currently have a batch file that loads all the required libraries into the class path and then calls the application's main class. problem is, the DOS command window stays open. is there any way to have it not display (obviously without losing my program in the process). at the very least can it be minimised automatically (just the dos window)?? though i think getting rid of it all together would be best.
    i would really love some help on this... very over seeing that dos window displayed...
    any help would be greatly appreciated.... thanks heaps
    Takis

  • Invoking dos commands from java

    hi all,
    I just want to invoke dos prompt from java.I know it can be done using "Runtime.getRuntime()" command.But when i try to create a directory inside another directory,how can i specify the path of the destination directory.i googled as well as tried different things.But i failed to make it up.Please help me solve this problem.
    thanks in advance
    Regards

    Hai,
    Thanks for your respond.
    If I give "cmd" command only, I am getting dos command window, but I didn't get the prompt like
    c: or d:
    How can I do it?
    Expecting more helps
    Joseph

  • Execute DOS command in current window!

    All:
    Here is my code :
    import java.io.*;
    public class BuildScript {
    public static void main ( String[] args ) {
    String[] command = {"C:\\winnt\\system32\\cmd.exe", "cls"};
    try {
    Process process = Runtime.getRuntime().exec ( command );
    process.waitFor();
    } catch ( InterruptedException e ) {
    e.printStackTrace();
    System.exit(-1);
    } catch ( IOException e ) {
    e.printStackTrace();
    System.exit(-1);
    System.out.println ( "DONE!" );
    I just want to exeute some simple DOS command from Java application. And then I run this code, it hangs there for ever. I comments out "process.waitFor()", then it print out the "DONE" however it seems that it just open another console and clear that one and exit. For the main console I start my code, nothing happened.
    Can anyone help me out how to execute the dos command in current console window.
    Thanks

    Can anyone help me out how to execute the dos command in current console window.Sorry to say but there is no way to do that.
    The best way to clear the screen is to print a few hundred newlines.
    Trust me, this is a frequently asked question.

  • Installing 9 brings up DOS SETUP command window !! Cannot continue

    I tried to install Reader 9. Just after the install starts, the command window appears with a title C:\DOS\SETUP and says "To install MS-DOS, Insert Disk 1 in drive A and press CNTRL+ALT+DEL. This will restart your computer and begin the Setup program. Or press ENTER to return to your command prompt."
    If I press Enter, the Adobe install simply stops and I am returned to the Windows desktop !!??
    My computer is a multiboot setup with XP Vista DOS and Ubuntu, all on seperate partitions. The default system is XP.

    This is boot.ini on my C drive.
    (The system actually boots via the Ubuntu partition, the picks up the Vista booting file)
    ;Warning: Boot.ini is used on Windows XP and earlier operating systems.
    ;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.
    [boot loader]
    timeout=3
    default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /FASTDETECT
    c:\="MS-DOS"

  • Executing a dos command from java in windows nt

    i need to execute the
    " net send"
    command from the command line in windows nt, from within my java program... is there any way that i can execute cmommands in the dos command shell? or rather, does anybody know a way i can send a message ( in windows ) from java, from one computer to another over the lan?? I cannot have a java programming running on all the other computers, so i cannot make my program serve, it must just send the messges using a lan command....
    (the net send command just sends a message in the form of a pop up box on the receiver's screeen)
    thanks a bunch guys!!!
    Thanks a bunch guys!!!!

    you can do that with exec() in Runtime.
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec(command here);but before you do that you need to read this:
    http://www.javaworld.com/jw-12-2000/jw-1229-traps.html
    hth
    partha

  • How can I run a dos command from java on windows 98, 95?

    The usage of cmd.exe in the java program to run a dos command on windows 98. 95 doesn't work as the equivalent command is command.exe
    But using the command.exe in the java program makes my program to hang.

    hi,
    As u mentioned, u cannot use the cmd.exe in win9x environment as cmd.exe is specific to windows NT, you can use the command.exe without any hitches.
    for eg
    java.lang.Runtime.getRuntime().exec("start command /K a.bat"); should run the batch file a.bat..
    if the problem persists, try posting the snippet of code that you are using.
    cheerz
    ynkrish

  • Can PL/SQL Run Host Command (DOS Command) ??

    Hi All,
    Can PL/Sql run HOST Command ?
    If can't, iis there any other way to execute the DOS command ?
    Thanks for help.
    Iwan

    Hi sarah,
    i have tried, but it didn't work.
    in my abc.sql script : (host in pl/sql level)
    BEGIN
    HOST('cmd /C dir *.*');
    END;
    exit
    but it still didn't work
    so i tried in sqlplus level :
    variable vStatus VARCHAR2(1);
    variable vCmd VARCHAR2(3000);
    BEGIN
    :vCmd := 'C:\Program Files\Internet Explorer\iexplore';
    END;
    HOST("C:\Program Files\Internet Explorer\iexplore");
    EXIT;
    if i put HOST("C:\Program Files\Internet Explorer\iexplore"); --> it worked....
    If i put HOST(:vCmd); --> i won't work.
    Any body can help ?
    Thanks,
    Iwan

  • Windows/DOS Command line for Apple Software Update

    I have a lab of Mac's and PC's all running iTunes/Quicktime. Is there a windows/DOS command line option to running Apple Software Update on Windows? I dont want to have my systems automatically download updates until after I have had a chance to test them first. At the same time though, I down want to have to visit each system(even with VNC) and install the updates by hand either as I have a way to blast a command at the PC's all at once to do the job.
    m
    MacBook Pro   Mac OS X (10.4.10)   Windows XP Pro

    ok i've sorted it, the solution is you have to put
    defaults write /Library/Preferences/com.apple.Softwareupdate CatalogURL http://servername:8088/
    and not
    defaults write com.apple.Softwareupdate CatalogURL http://servername:8088/

  • DOS Commands Used in Java Pgm, but command window should NOT be visible!

    Need a solution for the following.
    Problem: In a Java program, DOS Commands are used.
    Hence while executing it, the command window is visible for few seconds and later it is hided i.e once the processing of that DOS Command is finished.
    Solution Required: The Command Window should not be visible. The DOS Commands should be performed in the background with out making the command window visible.

    Problem:
    I am trying to run a executable file through java . But a command window always pops up. I want the command window not to pop up while the code is executed. Alternatively the rt.exec method should run in the background till the process is complete.
    I am using the following code in Java Swing application , where in when a user clicks a button the following method is invoked , which is turns invokes a windows a rasdial.exe file .Ex: rasdial MyConnection;
    Can someone help me on this. The below is a snippet of my code .
    public void callSerialOrInfraExe(String exeName) {
    executableFile = exeName;
    Runtime rt = null;
    Process process = null;
    boolean checkCon = false;
    try {
    rt = Runtime.getRuntime();
         process = rt.exec("rasdial " + executableFile);
    process.waitFor();
    checkCon = checkConEstablish();
    if (checkCon) {
    lblMsg.setVisible(true);
    cmdSubmit.setText("Done");
    cmdSubmit.setMnemonic('D');
    rdbSerialPort.setVisible(false);
    rdbInfraredPort.setVisible(false);
    jLabel1.setText(msgStr.toString());

Maybe you are looking for

  • InvocationTargetException while running Livecycle ES process

    Hello, I am encountering this exception when I sun my Livecycle process. The Livecycle process uses a Webservice component. We use the Soap Response to build our own XML. The LiveCycle process is not showing any error in the playback mode. We do not

  • Uploading file with Java: Java won't release the file.

    I'm trying to upload .log files to a webbsite using a form. It uploads fine, that's not the problem. The problem is that I want it to delete the file afterwards to save disk space, but the application doesn't release it. I thought I might just be doi

  • Table which gives the billing status for purchase orders

    Is there any table for purchase orders which gives us the "billing status"  as we have table "VBUK" in sales order.

  • N97 headphone jack problem

    hello i have a n97 and i have aproblem with the headphone jack the phone show me thet the Headset connected but actually are not connected. Now every time someone calls me I can not hear it I need to connect the headset please help me

  • Project Owner not allowed to see Gantt charts in Project Server 2013

    Hi A user of Project Server 2013 is unable to see the Gantt chart of his own project. It says in red letters (translated): "You are now allowed to access this page". I cannot see any difference between this users account and rights and I have tried a