Jump to content

hiding a cmd window


Craven Morehead

Recommended Posts

Ok I am hosting a voice com server (specifically Ventrilo). The server starts up and runs in a cmd window and I would like to be able to hide it. I can minimize it but I would like it to not show in my taskbar aswell. Is there an easy way to do this?

Thanks for any help.

Link to comment
Share on other sites


I'm trying to get it to work as well. I need the file Winamp.m3u to be deleted on startup and for that I've created a CMD file in the same folder, containing:

@echo off
cmdow @ /hid /min
del winamp.m3u

When I run it I still see the window - both as it pops up and on the taskbar. What am I doing wrong... I guess I'm using cmdow in a wrong way, I just don't know how.

Let me know.

Link to comment
Share on other sites

I'm trying to get it to work as well. I need the file Winamp.m3u to be deleted on startup and for that I've created a CMD file in the same folder, containing:

@echo off
cmdow @ /hid /min
del winamp.m3u

When I run it I still see the window - both as it pops up and on the taskbar. What am I doing wrong... I guess I'm using cmdow in a wrong way, I just don't know how.

Let me know.

try this, so no /min

@echo off
cmdow @ /hid
del /q winamp.m3u

 /T      List windows only shown on the taskbar.
 /B      List windows using bare format (no heading information).
 /F      List windows showing full information (don't truncate any fields).
 /P      List windows showing position and size (left, top, width and height).

 /TH     Tile windows horizontally.    /TV     Tile windows vertically.
 /MA     Minimize all windows.         /CW     Cascade windows.
 /UW     Undo tile/minimize/cascade.   /AT     Intelligent [Alt]-[Tab]
 /FS     Switch to full screen mode.   /WM     Switch to window mode.

 /ACT    Activate specified window.    /INA    Inactivate specified window.
 /ENA    Enable specified window.      /DIS    Disable specified window.
 /VIS    Unhide specified window.      /HID    Hide specified window.
 /MIN    Minimize specified window.    /MAX    Maximize specified window.
 /RES    Restore specified window.     /REN    Rename specified window.
 /TOP    Make window always on top.    /NOT    Make window not always on top.
 /MOV    Move specified window.        /SIZ    Resize specified window.
 /CLS    Close specified window.       /END    Kill process linked to window.

Link to comment
Share on other sites

What's not working? Are you using Cmdow or Nircmd?

If you are using Cmdow, then just put this at the top of your cmd-file:

cmdow @ /hid

or the same.. doesn't matter:

@cmdow @ /hid

Just make sure cmdow.exe is in the system32 folder. That's all.

Link to comment
Share on other sites

Figured out my problem: The window (the delete command) was hidden but the window of CMDOW running was the one visible.

Ended using a link to the .cmd file which has the CMDOW @ /HID in it. The link is minized but still showing briefly on the taskbar, which is allright.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...