Hiding programs run from within a batch script
Moderator: DosItHelp
Hiding programs run from within a batch script
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.
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.
-
- Posts: 84
- Joined: 08 Sep 2010 10:25
- Location: Iran,Kashan
- Contact:
Re: Hiding programs run from within a batch script
you can use this program to hide the process:
http://www.4shared.com/file/DtdI2yjj/ex ... allir.html
http://www.4shared.com/file/DtdI2yjj/ex ... allir.html
-
- Posts: 84
- Joined: 08 Sep 2010 10:25
- Location: Iran,Kashan
- Contact:
Re: Hiding programs run from within a batch script
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)
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)
Re: Hiding programs run from within a batch script
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?
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?
-
- Posts: 84
- Joined: 08 Sep 2010 10:25
- Location: Iran,Kashan
- Contact:
Re: Hiding programs run from within a batch script
pass:
learn4all.mihanblog.com
learn4all.mihanblog.com
-
- Posts: 44
- Joined: 01 Jan 2011 20:54
Re: Hiding programs run from within a batch script
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.
@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.
-
- Posts: 79
- Joined: 13 Dec 2010 10:32
Re: Hiding programs run from within a batch script
I don't think you can launch a batch file hidden without a vbScript.
Something like this:
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
-
- Posts: 319
- Joined: 12 May 2006 01:13
Re: Hiding programs run from within a batch script
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?
Re: Hiding programs run from within a batch script
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.