Hiding programs run from within a batch script

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Conk1
Posts: 12
Joined: 04 Dec 2009 09:43

Hiding programs run from within a batch script

#1 Post by Conk1 » 08 Dec 2010 04:51

Hello,

I was wondering how you run a program from inside a batch script whilst keeping the window hidden.

I am trying to run programs that are automated tasks - The first commands is for Vista SP2 and the second is for IE7 or above.

start /wait %windir%\System32\compcln.exe /quiet
start /wait RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

I don't want the windows for compcln and inetcpl to be visible.

Hope this is enough information.
Thanks in advance.

Mohammad_Dos
Posts: 84
Joined: 08 Sep 2010 10:25
Location: Iran,Kashan
Contact:

Re: Hiding programs run from within a batch script

#2 Post by Mohammad_Dos » 08 Dec 2010 13:25

you can use this program to hide the process:
http://www.4shared.com/file/DtdI2yjj/ex ... allir.html

Mohammad_Dos
Posts: 84
Joined: 08 Sep 2010 10:25
Location: Iran,Kashan
Contact:

Re: Hiding programs run from within a batch script

#3 Post by Mohammad_Dos » 08 Dec 2010 13:37

that program converts .bat (batch) files to .exe
you can use the option menu from left side for hide the dos window. this couses your commands become invisible and nobody dont can see those. and you can select an icon for your file
for more information notify me

you must copy crack file to install directory after installation and overwrite that.
your anti-virus may be recognize this program as virus


(sory for my english. it is not so good)

Conk1
Posts: 12
Joined: 04 Dec 2009 09:43

Re: Hiding programs run from within a batch script

#4 Post by Conk1 » 08 Dec 2010 17:31

Hi

Your link has a password which I don't know.
Unfortunately I need it to remain as a batch file.

Is there any other way?

Mohammad_Dos
Posts: 84
Joined: 08 Sep 2010 10:25
Location: Iran,Kashan
Contact:

Re: Hiding programs run from within a batch script

#5 Post by Mohammad_Dos » 09 Dec 2010 03:58

pass:
learn4all.mihanblog.com

scienceguru1.bat
Posts: 44
Joined: 01 Jan 2011 20:54

Re: Hiding programs run from within a batch script

#6 Post by scienceguru1.bat » 01 Jan 2011 21:23

if you just don't want it display what it is doing add:

@echo off

to the begginning and it will display nothing after it. if you want to no display after a point, just add it later on.
NOTE: this will just give you a blank window, it won't hide the window.

ChickenSoup
Posts: 79
Joined: 13 Dec 2010 10:32

Re: Hiding programs run from within a batch script

#7 Post by ChickenSoup » 05 Jan 2011 15:03

I don't think you can launch a batch file hidden without a vbScript.
Something like this:

Code: Select all

Set oShell = CreateObject("WSCript.shell") 
sCmd = "C:\hiddenbatchfile.bat"
' If you have spaces in the path, you can do like this instead:
'sCmd = Chr(34) & "j:\yourbatchfile.bat" & Chr(34) 'commented
' The 0 will make it run hidden
oShell.Run sCmd, 0, False

ghostmachine4
Posts: 319
Joined: 12 May 2006 01:13

Re: Hiding programs run from within a batch script

#8 Post by ghostmachine4 » 05 Jan 2011 21:20

Conk1 wrote:Hello,

I was wondering how you run a program from inside a batch script whilst keeping the window hidden.

I am trying to run programs that are automated tasks - The first commands is for Vista SP2 and the second is for IE7 or above.

start /wait %windir%\System32\compcln.exe /quiet
start /wait RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

I don't want the windows for compcln and inetcpl to be visible.

Hope this is enough information.
Thanks in advance.


have you tried start with /min option?

Conk1
Posts: 12
Joined: 04 Dec 2009 09:43

Re: Hiding programs run from within a batch script

#9 Post by Conk1 » 06 Jan 2011 02:59

The batch file does run hidden but unfortunately the programs it runs (inet.cpl and vsp1cln / compcln) seem to force themself to show a window. I had to use start /min in the end.

Post Reply