# Hide Command Prompt Window when RUN Batch file

**URL:** <https://clarionhub.com/t/hide-command-prompt-window-when-run-batch-file/5505>\
**Category:** questions\
**Created:** [October 10, 2022, 6:55pm UTC](https://clarionhub.com/t/hide-command-prompt-window-when-run-batch-file/5505 "2022-10-10T18:55:25Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![CarlBarnes](https://clarionhub.com/user_avatar/clarionhub.com/carlbarnes/32/1859_2.png) [@CarlBarnes](https://clarionhub.com/u/CarlBarnes)\
**Post date:** [October 11, 2022, 3:14pm UTC](https://clarionhub.com/t/hide-command-prompt-window-when-run-batch-file/5505/6 "2022-10-11T15:14:33Z")

</div>

> [@sk2107](#):
>
> ShellExecuteEx is perfect.

Please post your code when you get it working.

* * *

A simple idea is to make the DOS Window less visible. less obvious. or more like an App Window

- Screen size small e.g. 60x10 … it can be smaller like 40x3
- Colored White/Gray or like App. There are new ANSI colors in Win 10. Yu canot make both colors the same.
- Prompt just space ($S) not X:\>
- Title not “Command Prompt” e.g. “Copying…”

```auto
MODE CON COLS=60 LINES=10
COLOR 87
PROMPT $S
TITLE Copying...

```

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/e/eb71110c9a3361b1b2aa5536dfb6105149e3de9b.png)

You could run the Batch file Minimized making it less visible. The way I know how to do that is with `START /min My.BAT`. That’s not going to work with RUN(,wait). There may be other ways for a BAT to hide or minimize.

---

_[View the full topic](https://clarionhub.com/t/hide-command-prompt-window-when-run-batch-file/5505)._
