Jump to content
LaunchBox Community Forums

Trying to hide a console window when booting a pc-game.


ModerateNOOB

Recommended Posts

Hi.

I learned in another topic how to easily create a batch file so that you could just import a pc-games exe file into launchbox, And then boot it.

But a console window shows up every time i run it in launchbox or Big box, I can get rid of the windows confirmation window by unchecking "run as administrator", But is there a way to get rid of the damn black console window as well.

A bit unsure if it is the batch or the game that creates it??

The code for the batch is:

pushd %~dp1

"%~nx1"

And as always, Thanks for your time.

Link to comment
Share on other sites

You can kinda hide it (it still shows up in the taskbar) by creating a shortcut to the .bat file, then right click on the shortcut, click properties, and then under the shortcut tab, select run: minimised

This way you won't get the black console window actually popping up on the screen.

Oh, and afterwards, don't forget to point Launchbox to the shortcut rather than the bat file itself.

Edited by Belgarath
  • Thanks 1
Link to comment
Share on other sites

1 hour ago, Belgarath said:

You can kinda hide it (it still shows up in the taskbar) by creating a shortcut to the .bat file, then right click on the shortcut, click properties, and then under the shortcut tab, select run: minimised

This way you won't get the black console window actually popping up on the screen.

Oh, and afterwards, don't forget to point Launchbox to the shortcut rather than the bat file itself.

That simply worked beautifully , Thanks for the tip๐Ÿ˜‰

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...