Page 1 of 1 1
Topic Options
#206069 - 2012-10-25 12:43 AM 4.63 causing console windows to open
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
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+'"'

Top
#206073 - 2012-10-25 01:45 PM Re: 4.63 causing console windows to open [Re: ShaneEP]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
oh, that sucks. just my 2 cents ;\)
_________________________
!

download KiXnet

Top
#206074 - 2012-10-25 07:12 PM Re: 4.63 causing console windows to open [Re: Lonkero]
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
Haha thanks Jooel!
Top
#206075 - 2012-10-26 05:46 AM Re: 4.63 causing console windows to open [Re: ShaneEP]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
Im still mostly using 4.5x, so 4.63 issues don't really bother me ;\)
_________________________
!

download KiXnet

Top
#206077 - 2012-10-26 09:15 AM Re: 4.63 causing console windows to open [Re: Lonkero]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
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.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#206079 - 2012-10-26 04:26 PM Re: 4.63 causing console windows to open [Re: Mart]
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
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'


Edited by ShaneEP (2012-10-26 04:33 PM)

Top
#206080 - 2012-10-26 04:36 PM Re: 4.63 causing console windows to open [Re: ShaneEP]
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
However, a workaround is to use the /i switch which seems to supress the window regardless.
Top
#206081 - 2012-10-29 10:53 AM Re: 4.63 causing console windows to open [Re: ShaneEP]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Pretty sure that is normal. Try WKIX.EXE if you don't want a console
Top
#206082 - 2012-10-29 12:42 PM Re: 4.63 causing console windows to open [Re: NTDOC]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ntdoc, that is the point. wkix32 4.63 creates a console.
so it isn't normal.
_________________________
!

download KiXnet

Top
#206083 - 2012-10-30 04:40 AM Re: 4.63 causing console windows to open [Re: Lonkero]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
arg... okay my fault, sorry.
Top
#206263 - 2012-11-26 02:21 PM Re: 4.63 causing console windows to open [Re: NTDOC]
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
Hmm, that's no good. Thanks for the report, I will investigate...

Ruud

Top
#206898 - 2013-03-12 04:53 PM Re: 4.63 causing console windows to open [Re: NTDOC]
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
Good catch... just fixed this in 4.64.

Thanks for the report!

Ruud

Top
Page 1 of 1 1


Moderator:  ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.198 seconds in which 0.085 seconds were spent on a total of 13 queries. Zlib compression enabled.