ShaneEP
(MM club member)
2012-10-25 12:43 AM
4.63 causing console windows to open

I use the below lines to create a printer dialog from scripts. When I use wkix32.exe 4.63 a console window opens up. If I switch back to 4.62, it works fine with no console window. Any idea what could be causing this change of behavior?

 Code:
$printdoc = @ScriptDir+"\test.htm"

Shell 'RUNDLL32.exe MSHTML.dll,PrintHTML "'+$printdoc+'"'


LonkeroAdministrator
(KiX Master Guru)
2012-10-25 01:45 PM
Re: 4.63 causing console windows to open

oh, that sucks. just my 2 cents ;\)

ShaneEP
(MM club member)
2012-10-25 07:12 PM
Re: 4.63 causing console windows to open

Haha thanks Jooel!

LonkeroAdministrator
(KiX Master Guru)
2012-10-26 05:46 AM
Re: 4.63 causing console windows to open

Im still mostly using 4.5x, so 4.63 issues don't really bother me ;\)

Mart
(KiX Supporter)
2012-10-26 09:15 AM
Re: 4.63 causing console windows to open

I just tried and a command windows pops up indeed in 4.63 while it doesn't in 4.62. That s#cks a bit.

I'm still on 4.62. Just waiting what comes up with 4.63. Like the incorrect detection of Win2K8 R2. Hmmmm....I might stick to 4.62 for a while.


ShaneEP
(MM club member)
2012-10-26 04:26 PM
Re: 4.63 causing console windows to open

It's odd. I have yet to be able to reproduce it with a different shell command.

IGNORE THAT. Forgot I had changed back to 4.62 when I was testing. 4.63 actually seems to be creating a console window for ANYTHING shelled. Even a simple...
 Code:
Shell 'Notepad.exe'


ShaneEP
(MM club member)
2012-10-26 04:36 PM
Re: 4.63 causing console windows to open

However, a workaround is to use the /i switch which seems to supress the window regardless.

NTDOCAdministrator
(KiX Master)
2012-10-29 10:53 AM
Re: 4.63 causing console windows to open

Pretty sure that is normal. Try WKIX.EXE if you don't want a console

LonkeroAdministrator
(KiX Master Guru)
2012-10-29 12:42 PM
Re: 4.63 causing console windows to open

ntdoc, that is the point. wkix32 4.63 creates a console.
so it isn't normal.


NTDOCAdministrator
(KiX Master)
2012-10-30 04:40 AM
Re: 4.63 causing console windows to open

arg... okay my fault, sorry.

Ruud van Velsen
(Hey THIS is FUN)
2012-11-26 02:21 PM
Re: 4.63 causing console windows to open

Hmm, that's no good. Thanks for the report, I will investigate...

Ruud


Ruud van Velsen
(Hey THIS is FUN)
2013-03-12 04:53 PM
Re: 4.63 causing console windows to open

Good catch... just fixed this in 4.64.

Thanks for the report!

Ruud