How to hide a DOS Prompt Command ?

Discussion in 'Windows 7' started by -=WGN=-, Dec 7, 2009.

  1. -=WGN=-

    -=WGN=- MDL Novice

    Nov 7, 2009
    33
    0
    0
    Hi, how to hide a DOS window that appears when I run a file format .cmd without impairing their function?

    Thanks!
     
  2. -=WGN=-

    -=WGN=- MDL Novice

    Nov 7, 2009
    33
    0
    0
    As if I would apply this command:

    " hstart.exe / [PARAMETERS] / [PRIORITY] [COMMAND LINES] "

    these commands:

    "@echo off
    start / WAIT% ~ dp0Install.bat
    cd% ~ dp0
    DEL Install.bat
    del "ACER. XRM-MS"
    del "ALIENWARE. XRM-MS"
    del "ASUS. XRM-MS"
    del bootinst.exe
    del "DELL. XRM-MS"
    del "FOUNDER. XRM-MS"
    del FSC. XRM-MS "
    del "FUJITSU. XRM-MS"
    del grldr
    del "HP. XRM-MS"
    del "LENOVO. XRM-MS"
    del "MSI. XRM-MS"
    del "TOSHIBA. XRM-MS"
    shutdown / r / t 05
    del% 0
    exit "

    ???
     
  3. Hazar

    Hazar MDL Guru

    Jul 29, 2009
    2,523
    452
    90
    That looks a lot like my preactivation kit...

    start /min or something would hide it usually.
     
  4. kukubau

    kukubau MDL Addicted

    Dec 15, 2008
    690
    45
    30
    cmdow @ /HID
    @echo off


    ...and have cmdow.exe inside the folder you're running the batch. Or was it the system folder?!?
     
  5. -=WGN=-

    -=WGN=- MDL Novice

    Nov 7, 2009
    33
    0
    0
    Yes Hazar, it's your activation kit, I'm trying to figure out how to not display the screen of the command promp when your kit incidents, had been more cool if he would be minimized or hidden. The start / MIN you tested it works?

    Very good your kit, actually works. Congratulations!
     
  6. Hazar

    Hazar MDL Guru

    Jul 29, 2009
    2,523
    452
    90
    It would be something like start /Min install.bat
     
  7. -=WGN=-

    -=WGN=- MDL Novice

    Nov 7, 2009
    33
    0
    0
    Hey Hazar, if I remove the serial activation of Windows and run the SETUPCOMPLETE he will activate as in installation?

    I tried to replace the "start / WAIT% ~ dp0Install.bat" by "start / Min install.bat" what you told me but do not activate Windows
     
  8. cypher85

    cypher85 MDL Junior Member

    Nov 14, 2009
    62
    29
    0
    #10 cypher85, Dec 8, 2009
    Last edited by a moderator: Apr 20, 2017
    example for hstart

    Code:
    hstart.exe /NOCONSOLE /WAIT install.bat
     
  9. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,644
    3,003
    300
    cmdow.exe people stopped using that a few years back virus checkers were flagging and deleting it even though it was a false positive.