[THIN] Re: Launching apps via .cmd files

  • From: "Evan Mann" <emann@xxxxxxxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 5 Jan 2006 08:58:45 -0500

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
************************************************

Other related posts: