Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
a black box of CMD command will appear. How to hide the black box, please provide a method

zcfwei
Registered User
Quote
2020-01-11 13:08:54

Open the web address or local executable file with system ('Start ') in coppercube, and a black box of CMD command will appear. How to hide the black box, please provide a method. Example: system ('Start http://www.reddit.com '); when you open the website, there will be a flash of black box CMD, which is very annoying. Thank you for your guidance.
-------------------------------------------------------------------------------------
COPPERCUBE中用system('START ‘)打开网址或者本地可执行文件,会出现CMD命令黑框,如何隐藏这个黑框,请老师们提供一个办法。
例:system('START http://www.reddit.com');打开网站会出现黑框CMD闪一下,这个很讨厌。谢谢各位请给与指导。


nrasool
Registered User
Quote
2020-01-11 15:47:45

Experiment with batch files, here is a link: https://www.robvanderwoude.com/battech_hideconsole.php

Should be what you are after


zcfwei
Registered User
Quote
2020-01-12 03:33:51

Thank you, but after testing system ('Start / min / http://www.baidu.com '); system ('Start / B / http://www.baidu.com'); system ('Start / hide / http://www.baidu.com '); there will still be a CMD window. The hidden installation software provided is not tested, but it can't be installed on someone's computer, so it can't be used. I don't know if there are any other command methods to open HTTP web pages and exe local files. I want to provide the following code to make the coppercube run. Thank you.


nrasool
Registered User
Quote
2020-01-12 23:07:02

Hi, I don't see you using

CONSOLESTATE /Hide
or:

SETCONSOLE /hide

first to hide the batchfile CMD window, that would be the first thing to do

By the way, just to advise, this is not Coppercube issue, but rather Windows environment issue with the way it runs system windows.


zcfwei
Registered User
Quote
2020-01-30 08:32:00

OK,Thank you very much.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "?nternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact