Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hide command prompt with batch file

Status
Not open for further replies.

hinchdog

Programmer
Feb 14, 2001
380
US
i have a batch file with the following code

@ECHO OFF
wrapper /i LPLocker.msi
EXIT

this batch launches an executable Wrapper.exe, then opens the setup package LPLocker.msi. Now, this works fine but you can see the command prompt the whole time. i want the command prompt to be minimized or entirely invisible. that's what i thought the ECHO OFF did. but i was wrong because i can still see it. anyone know the proper commands to do this. THX

btw - i want the solution to be cross platform
 
Your command prompt is deleted when you use the <prompt> command to run an ANSI escape sequence.
Eg. prompt $e[31;42m red on green
prompt $e[5;31;44m blinking text (red) on a blue backgrund
prompt $e[0m restores default white on black(that's a zero)


(Just a wild guess.!)
 
Hey,

I'm not sure if I get this correctly, but why do you want the command prompt at all after the installer is started. Just give an exit command at the end of the batch file.

Lemme know if it works.

Regards
Rahul
rahkulk@yahoo.com
 
try reading this other post:

thread615-256553

If this wrapper program is a windows prg then you can try to use the CALL or START commands to activate it AND THEN use the above link's info for your purposes.
--MiggyD

Never be afraid to try something new. Remember that amateurs built the Ark. Professionals built the Titanic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top