[THIN] Re: Launching apps via .cmd files

  • From: "Berny Stapleton" <berny.stapleton@xxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 5 Jan 2006 15:49:57 -0000

Aaarrggghh...

Put %errorlog% 2>&1 after your command.

set outputdir=c:\temp
set errorlog=%outputdir%\datatracerror.log
datatrac.exe %errorlog% 2>&1

This will catch STDOUT and ERROROUT. So if datatrac is erroring with
anything you can capture it into a log file and see what it's saying.

Berny

-----Original Message-----
From: Berny Stapleton 
Sent: 05 January 2006 15:42
To: Berny Stapleton; 'thin@xxxxxxxxxxxxx'
Subject: RE: [THIN] Re: Launching apps via .cmd files

I hate replying to my own post, but can you try running this:

%backuplog% 2>&1 

-----Original Message-----
From: Berny Stapleton
Sent: 05 January 2006 15:41
To: 'thin@xxxxxxxxxxxxx'
Subject: RE: [THIN] Re: Launching apps via .cmd files

Stopping guesswork, have you run a filemon on the citrix server to
determine if the file is actually being accessed by the citrix server?

Berny 

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Jim Kenzig http://ThinHelp.com
Sent: 05 January 2006 15:37
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Launching apps via .cmd files

Are you using quotes with the start command?

start "myapp.exe"
 
Jim

----- Original Message ----
From: Evan Mann <emann@xxxxxxxxxxxxxxxxxxxxx>
To: thin@xxxxxxxxxxxxx
Sent: Thursday, January 05, 2006 10:29:25 AM
Subject: [THIN] Re: Launching apps via .cmd files


The .cmd file runs perfectly fine when tested directly.  I know the .cmd
is fine.  Something breaks when I publish it through ctxhide.  I
double-checked my spelling/syntax on the app published using ctxhide and
it looks fine.  

I'm testing as myself, with full admin access to the Citrix servers, and
the network share where this app runs from, and everything else.  Using
ctxhide doesn't mess with authentication does it?

I'm not sure if it's relevant, but this particular network application
must be launches from the start directory of r:\datatrac, or it will
throw a "cannot find .ini" error.  Which is why I have to go to r:, and
cd datatrac in the .cmd file.  

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Jim Kenzig http://ThinHelp.com
Sent: Thursday, January 05, 2006 10:17 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Launching apps via .cmd files

Is it possible that the users need to authenticate to your share or are
you allowing anonymous access(everyone) to it? 
You may have to add a username and password to your net use command Jim


----- Original Message ----
From: Evan Mann <emann@xxxxxxxxxxxxxxxxxxxxx>
To: thin@xxxxxxxxxxxxx
Sent: Thursday, January 05, 2006 9:58:10 AM
Subject: [THIN] Re: Launching apps via .cmd files


Thank's for the explanation.  I'm still having a problem getting the
application to run.  I simply did start d:\datatrac\runtrac.exe but
nothing is running. 

I published the .cmd directly (not through ctxhide) with start in the
.cmd file and the app launched OK.

Something doesn't want to work when pushed through ctxhide.exe.  

I'm doing this via WI.  I see the client connect, login scripts run,
checking for newer client, then 1 think it flips through I can't read
fast enough, and then I end up logged into the server, with no apps
running.  The only processes for my user running are ctfmon.exe,
************************************************
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
************************************************

Other related posts: