Options

Command box

maikeljmaikelj Member Posts: 50
edited 2003-09-10 in Navision Financials
Hello there,

I've got the following question:

I'm printing a label with the SHELL function.
This gives me a command box when i'm printing a label.
Is it possible to make this command box invisible??

Comments

  • Options
    jhoekjhoek Member Posts: 216
    Use the /c switch (e.g. cmd /c "foo.exe")
    Kind regards,

    Jan Hoek
    Product Developer
    Mprise Products B.V.
  • Options
    maikeljmaikelj Member Posts: 50
    Thanks Jan,

    I've tried the parameter. The '/c' is for closing the dos-box when
    a command is executed. For example 'dir'.

    But is it possible that the dos-box is completely invisible?
    Or perhaps minimalized?

    MaikelJ
  • Options
    DoomhammerDoomhammer Member Posts: 211
    If you are using SHELL to call DOS batch files, try to place CLS command at end of batch, this will close DOS window.

    If you are calling other programs (EXE, COM), call them via BAT with CLS at end. This is my trick how to close DOS window
    Martin Bokůvka, AxiomProvis
Sign In or Register to comment.