[THIN] Re: Launching apps via .cmd files

  • From: "Jim Kenzig http://ThinHelp.com" <jkenzig@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Thu, 5 Jan 2006 06:18:49 -0800 (PST)

Call is to call a batch file from another not an executable.  The start command 
is what he wants
JK

----- Original Message ----
From: Berny Stapleton <berny.stapleton@xxxxxxxxxx>
To: thin@xxxxxxxxxxxxx
Sent: Thursday, January 05, 2006 9:08:54 AM
Subject: [THIN] Re: Launching apps via .cmd files


I have a question for the list...

Would the seamless window engine track the launch of the application,
and then hide datatrac as well?

What might be worthwhile would be to take a look at the CMC or Terminal
Services Manager or even just task manager on the server and see whether
datatrac.exe is actually running, it could be running and just hidden.

You might need to have a look at:

http://support.citrix.com/kb/entry.jspa?externalID=CTX101644

This has all the data on the TWI (ThinWire) registry key....

Otherwise what happens when you do a:

R:
cd datatrac
call r:\datatrac\runtrac.exe

See if that makes it work, it might be that because it's called as a
separate process (perhaps instead of being a child process) that ctxhide
might not hide datatrac...

That's all just a guess, but it's where I would be looking.

Berny


-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Evan Mann
Sent: 05 January 2006 13:59
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Launching apps via .cmd files

That looks like the winner.  But for some reason the program won't
launch now. It ran fine with just the .cmd directly published.  This is
what I published:

"c:\program files\citrix\System32\ctxhide.exe"
d:\customizations\run_datatrac.cmd

Contents of the .cmd

@ECHO OFF
net use r: /delete
net use r: \\corp-storage\vol1
r:
cd datatrac
r:\datatrac\runtrac.exe


-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Carl Stalhood
Sent: Wednesday, January 04, 2006 10:45 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Launching apps via .cmd files

Or you can publish c:\program files\citrix\system32\ctxhide.exe and pass
it the path of the .cmd file. This is how usrlogon.cmd is hidden.

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Tim Mangan
Sent: Wednesday, January 04, 2006 9:14 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Launching apps via .cmd files

The trick is in how you execute the cmd.exe string, not what's inside.
I think it's "cmd.exe /c file.cmd".  

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Evan Mann
Sent: Wednesday, January 04, 2006 9:56 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Launching apps via .cmd files

I'm doing some testing with launching a network app via a .cmd file,
instead of directly publishing the app.  So far, things seem OK, but I
was wondering if there is any way to complete hide the command prompt
window so the user doesn't see it.

I published an app that runs d:\run_program.cmd and I specified @ECHO
OFF in the .cmd file.  So when the app runs, the cmd prompt box shows
up, and they see some text related to network drives being disconnected
and reconnected, then the app launches and the cmd box goes away. I'd
like to make the entire process silent until the actual app launches. 


************************************************
For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation
mode use the below link:
//www.freelists.org/list/thin
************************************************



************************************************
For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation
mode use the below link:
//www.freelists.org/list/thin
************************************************

************************************************
For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation
mode use the below link:
//www.freelists.org/list/thin
************************************************
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation
mode use the below link:
//www.freelists.org/list/thin
************************************************

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. For more information on a proactive anti-virus
service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


______________________________________________________________________
The contents of this transmission are confidential. If you are not the
named addressee or if it has been addressed to you in error, please
notify the sender immediately and then delete this message. 
Any unauthorised copying and transmission is forbidden. Electronic
transmissions cannot be guaranteed to be secure. If verification is
required, please contact the sender.
______________________________________________________________________
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
************************************************
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
************************************************

Other related posts: