Hide visible command window when running cscript.exe

I'm using vbs wrappers when I'm installing applications with MDT because they offer me better control and logging capability. Currently when task sequencer executes application install with cscript.exe there is this visible command window. Is it possible
to completely hide it without big modifications to MDT?

If you are using ZTIUtility.vbs then I recommend:
oUtility.RunWithConsoleLoggingAndHidden "cmd.exe /c echo Hello World!"
Keith Garner - Principal Consultant [owner] -
http://DeploymentLive.com

Similar Messages

  • Hide MS-DOS window when running java

    I'd like to know i can hide the MS-DOS window when i am running my program.
    I try this in file.bat, but it doesn't work.
    file.bat:
    javaw myProgram
    exit
    any ideas?
    thank you.

    Well, your method works for me.
    You can trycall javaw YourProgram
    exitas well, but I doubt if it will make any difference.
    Kind regards,
      Levi

  • 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

  • Maxmize window when run Report builder 10gR2

    Thanks in advance to all,
    I have read of a post in which he treated maxmize window when run Report builder 10gR2, but I don't succeed in finding it. Can someone point out me the link?
    PS. I have already post on Form Forum

    Thanks for your reply.
    But i was speaking maxmize window of report builder application on WIN xp, because when i
    exe rwbuilder i always,have to maxmize window.
    I know that it is a fool problem, but if to someone it happens and he had resolved...
    Howevar thanks for your time

  • Want to hide Java Console Window when launching apps on Solaris 9.

    Hi,
    I am working in a Solaris environment with Solaris 9.
    When I launch any of my applications, the java console window appears.
    I want to hide this window.
    The java version that I am using is JDK 1.3.1_01.
    I found this link that shows you how to configure your java settings to hide the console window.
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html
    1. I placed the deployment.config file in the appropriate directory:
         ${deployment.java.home}/lib/deployment.config     (${deployment.java.home} is the location of the jre from which the deployment products are run.
         Deployment products include Java Web Start, Java Plug-in, Java Control Panel...)
         In this file I have the following:
         deployment.system.config=/.java/.deployment/deployment.properties     
         deployment.system.config.mandatory=false
         deployment.console.startup.mode=HIDE 2. The /.java/.deployment/deployment.properties file is not created by default.
    So I created it but still the java console window appeared.
    The above configuration is the system level settings taken from the webpage I specified above.
    I have also tried the user level settings but to no avail.
    Any ideas what I may be doing wrong?
    Rgds,
    Adrian.

    Hi all,
    Thanks Jacky, the Control Panel is the best way to �hide� the console window.
    I have achieved this when using java 1.4.2.
    But when using java 1.3.1_09, the control panel does not give me the option to "Hide console" or "Do not start console� as is the case when using java 1.4.2.
    What it goes give is �Show Java Console� checkbox which I have unchecked and minimises the console on the desktop as a result.
    Perhaps the functionality to hide (ie: not display) the console window is not available in the java 1.3.1_09 version?

  • How to hide/visible external window

    Hi,
    I'm using Jdev 12c.
    I have a calling BTF and it calls a called BTF (run as dialog : "true", Display type : external-window).
    Now, I wanna hide/visible the calling BTF after showing called BTF
    Could anybody have any ideas?
    Thank you very much

    Hi Timo,
    Thanks for your replying.
    Because of my requirement, my first place will call some windows at the same time. But your suggestion gives me some ideas
    If you have any ideas for hiding external window, please let me know.
    Thank you very much.
    Thanh Hoang.

  • White console box appears when running dis51usr.exe

    Hi all,
    I have a user when she attempts to run Discoverer Desktop 10 either via shortcut or via command line by typing dis51usr.exe instead of the program opening a white empty box appears in the middle of the screen titled 'Console' and nothing else happens.
    Any ideas?
    thanks,
    rg

    Hi Clifford
    The path looks right. On my PC, with Desktop and Admin, my path settings for Discoverer look like this:
    %DISCO10%\bin; (171 files and 0 folders)
    %DISCO10%\jlib; (53 files and 1 folder)
    %DISCO10%\jre\1.4.2\bin\client; (2 files)
    %DISCO10%\jre\1.4.2\bin; (62 files and 1 folder)
    where %DISCO10% is c:\oracle\BIToolsHome_1
    I can't see anything wrong with the path. This is very mystifying. I think you may have to speak with Oracle Support. Other than the Discoverer installation being corrupt with one or more files missing I can't think why you would be seeing a white console box. I'll keep researching and if I come upon anything I will let you know. To help I have listed alongside each of my locations the number of files and fodlers I have. If yours is different there is a possibility of a corruption.
    Best wishes
    Michael

  • Application Builder 7.1: problem when running an EXE

    Hello,
    I have developped a VI on a computer with LabView 7.1. The VI uses an USB 6008 (with DAQmx base 1.4 drivers.) to measure signals. It perfectly works. Now I've spent a lot of trying to put the system on a computer that doesn't have LabView installed.
    -I first installed the USB 6008 drivers on the computer
    -Then I made an installer with the application builder (including the run-time engine)
    -Once the application is installed on the new environnement, I just keep on having error messages when running it.
      -first it doesnt find all the DLL, you have to copy them from the PC with LabView in C:\windows\system32\.   Done.
      -then I get this big dialog box with a listing of sub-Vi missing, such as: Sub-VI Create Task.vi missing in VI Instance 1  6ProgName.v1
       I've looked into the LLB file created with the builder: all these sub-VI are here!! Why won't it work?
    What can I do to solve this?? Thanks for your help.

    Hi  batsenn,
    for the missing dll: what are those dll's? you may need to install additional run-time packages, or check some more component in the Advanced Installer Settings form, depending on your application.
    Now for the main problem: are you calling vi's dynamically from an external LLB? in many cases when a file is not found from the built application, it's a path problem. In fact, if a vi path is e.g. c:\mysourcedir\myvi.vi, when the EXE is built the path will be something like c:\myexedir\myexe.exe\myvi.vy. You see that there is an additional Strip Path you need to do if you are getting the current path from a vi path.
    What I said can be relevant or not depending on the vi calling techinique you are using. A suggestion is to execute the built EXE on the development computer (where all components are present) to check if the problem is still there.
    Hope this helps.
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011

  • Missing function when running a .exe labview program

    Hi
    everyone,
    I have used
    a subvi taken from the RoboIO library  ( http://www.roboard.com/labview/Labview_RoBoIOv15b.zip) to make up a program in order to run a
    .exe version of it on another computer that doesn’t have Labview (just Run Time Engine
    SP1 is installed).
    The .exe
    works fine on the Labview computer (after adding to the Build/Data directory the
    RoboIO.dll, RoboIOv15b, winIo and WInIO.dll files.). I have no conflict message
    when opening the Project explorer manager dependancies.
    When I
    launch the .exe on the second computer I get a message saying it can't find the
    function I was talking about at the beginning of my post. (running another .exe without
    this function works fine on this second computer)
    It’s the
    first time I am using a .exe on a "non-labview computer", so I must be doing something
    wrong : not creating correctly the .exe program
    Would anybody
    have an idea what could be  the problem?
    Thansk a lot,
    User

    Hi
    To deploy an application in a computer that doesn't have LabVIEW you could create an instaler than an exe.
    You can find how to create an instaler in the LabVIEW help.
    Regards,
    Nicolas M.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
    2 sessions en parallèle : Débuter a...

  • How do I enlarge the "presenter notes" window when running my presentation on an external display?

    In the latest version of Keynote, the "Presenter Notes" window is a small horizontal field at the bottom of the presenter's computer screen.  Only 3-4 lines of text can be seen.  This means that when you have a few paragrahs of notes, you have to scroll through them as you are presenting.  This is very cumbersome.  In the previous version of Keynote you could change the relative size of the slides versus the "presenter's notes" boxes when running a presentation on an external display, but in the new version, I can't find a way of enlarging the "presenter's notes" field.
    Also, in the new version, the preview slide doesn't show the initial text on the next slide if that text emerges as a "dissolve in" build when you advance forward through your slides.  I always have the initial text on my slides automatically "dissolve in" after each slide transtion.  But in the new version of Keynote, when in presenter mode, I can't see any of the text on the "next slide."  This makes it difficult to anticipate what slide comes next . . . without going to the Navigator.  Does any one have a solution for this?
    Thank you.

    I figured it out with the help of a post from a few days ago.  Although posted for a different problem, I followed these steps from Cornelia-I and it worked like a charm:
    You can change the link of LR to the images from the network drive to your local drive, best done on parent folder level: right-click the highest folder in library left panel, and choose update storage location. In the opening dialog window point it to your internal folder.

  • Show front panels of sub VIs when running a EXE (build application)

    I've created a exe file and it works fine. However, it only shows the front panel of main VI and I can not open sub VIs (it looks like they are all hidden). I know it can be done by creating a library file along with this exe file, but that's not what I want. I want to create a single exe file that shows several front panels, and that can be run with run time engine. Is there any way to show front panels of sub VIs by running a exe file?

    In the development mode, how are you displaying the front panels? Did you right click on the subVI and select SubVI Node Setup and choose 'Show Font Panel when called/Close afterwards if originallly closed' or did you choose the same options from VI Properties for each subVI. If the second, then the app builder will automatically retain the front panels of the subVI. If you chose the first option or if you are using VI Server to open a front panel, then the default setting in the app builder is to remove the front panels. You would then have to go the VI Setting tab in app builder and edit the settings.

  • XI installation - problem when running sapinst.exe

    hai,
      when i'am running sapinst.exe file i'am getting the following error  -
    SAPinst is getting started.
    Please be patient ...
    guiengine: call to bind() for socket 1832 failed. No such file or directory
    ERROR      2007-02-28 14:50:20 [iaxxgenimp.cpp:532]
               init()
    FGE-00006  Attempt to open a communication port connection failed. Check whether the port 21212 is already in use.
    ERROR      2007-02-28 14:50:20
    FCO-00034  An error occurred during the installation. Problem: error in GUI server subsystem.
    Exit status of child: 1
    can anyone help?
    bye
    nandana

    Hi Nandana,
    Please check this link...
    Re: problems installing NW04 sneak preview (java)
    it talks about the same problem as yours...
    Thanks.
    btw...i got the link from google
    Message was edited by:
            Renjith Andrews

  • Error A12E1 when running CCPLauncher.exe

    Hi
    We need to package Indesign with Creative Cloud Packager but it's stops with erro A12E1.
    I try the steps in A12E1 error installing Creative Cloud products | CC but no success.
    I also try to run CCPLauncher on a new clean computer.
    Both computers running Windows 7 64 bit and a CCPLauncher from 2014-01-30 (version 1.0.0.52)
    All results from Google seems to end in the link above. Any other solutions?
    Thanks
    Sten

    I am also having this issue trying to run CCPLauncher.exe on Windows Server 2008 R2 so I can setup an AUSST.
    I too have also exhausted the steps in the above link help page.

  • Sudo command hangs when run as winbind user

    Hi,
    It even hangs when running:
    $ sudo
    or
    $sudo -V
    So nothing to do with my sudo config - have reverted /etc/sudoers back to default. Even control-c does not work and the process needs to be killed as root, using another session.
    The command works fine when ran as a local user. It is only when running as a winbind user that there's a problem.
    Any help on what tools can be used to find out what's happening while the command is hanging would be much appreciated. Or even better any ideas on how to stop it hanging would be even better!
    Can provide any config files if they help anyone.......
    Many Thanks,
    Richard

    *** UPDATE ***
    It seems the version of sudo (v1.8*) supplied with Solaris 11 is not compatible with Winbind users.
    Workaround:
    Compile version 1.7* to /usr/local/bin and add this to the beginning of $PATH

  • Cmd window appears when running sqldeveloper.exe for some users

    All,
    I'm wondering why a cmd window appears when I double click the sqldeveloper.exe executable?
    This is a Windows 2008 server.
    Also, when the user that installed SQL Developer runs it, the cmd window has no text in it but when other users are logged into the server and run the same executable, they have a lot of messages appearing in the cmd window similar to:
    at org.apache.log4j.xml.DOMConfigurator.doConfigure<DOMConfigurator.java:616)
    What I'd like to do is NOT have any cmd window appear when the users run sqldeveloper.exe

    There are two sqldeveloper.exe files. The one in the root of the sqldeveloper installation folder doesn't produce a console; the one in <sqldev>\sqldevloper\bin does.

Maybe you are looking for