[THIN] Re: Copy Script

  • From: "Jeff Durbin" <techlists@xxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Sat, 13 Dec 2003 10:13:54 +1300

Post your script. If you're not averse to using VBScript during the app
launch, you could have it:

- Check to make sure the source files exist
- Check to make sure the target location is available
- Copy the files
- Check to make sure the files copied successfully
- Launch the app

  Once you start using a scripting language, you can do all kinds of
troubleshooting, like logging the results of each function as it executes.
You could find out, for example, that the source files (if they're coming
from a network share) aren't available (maybe because of a brief period of
network congestion).

Jeff Durbin

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Seitz, Linden
Sent: 13 December 2003 5:33 AM
To: Thin@Freelists. Org (E-mail)
Subject: [THIN] Copy Script


Environment:  2000 TS SP3 with Metaframe XPe FR3.  I have an anonymous
application that is based on a simple cmd file.  

The cmd file copies a client-specific configuration file (Rumba config file)
from a source location to the anonymous account's "My Documents" folder and
then runs the Rumba executable while using the config copied into the "My
Documents" file.

Problem is that the results are sporadic; sometimes the app will run using
the config file, sometimes it will say it can't locate the config file, but
the copying does occur and the file is there.

Anyone have any suggestions from the published app or scripting standpoint
that I can use to make the script more reliable?  Thanks!

============================================================================
=================

copy "d:\Program Files\WallData\Rumbadsp\Profiles\Unity\%clientname%.wdu"
"c:\documents and settings\%username%\My Documents\" "d:\Program
Files\WallData\VT\Rumbavt.exe" "c:\documents and settings\%username%\My
Documents\%clientname%.wdu"

============================================================================
=================
********************************************************
This Week's Sponsor - RTO Software / TScale
What's keeping you from getting more from your terminal servers? Did you
know, in most cases, CPU Utilization IS NOT the single biggest constraint to
scaling up?! Get this free white paper to understand the real constraints &
how to overcome them. SAVE MONEY by scaling-up rather than buying more
servers. http://www.rtosoft.com/Enter.asp?ID=147
*********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

********************************************************
This Week's Sponsor - RTO Software / TScale
What's keeping you from getting more from your terminal servers? Did you
know, in most cases, CPU Utilization IS NOT the single biggest
constraint to scaling up?! Get this free white paper to understand the
real constraints & how to overcome them. SAVE MONEY by scaling-up rather
than buying more servers.
http://www.rtosoft.com/Enter.asp?ID=147
*********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: