[THIN] Re: Mapping a network drive on an application basis

  • From: "Rick Mack" <Rick.Mack@xxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 11 Oct 2005 22:16:43 +1000

Hi Nick,

It's easy to have application specific login scripting. Provided we're
talking about published apps that is. 

The trick is to design the scripting so that it's solid and still
flexible. i.e. nobody can break it.

The first step is to use a VB script (mfcom) or utility to find out the
published application name. 

Then you hack up a script that looks up the published application name
and checks to see if there's a folder in a global configuration area (eg
netlogon\ctxconfig) with the same name as the published app. 

If the dir exists AND theres a runme.cmd or runme.vbs script in the
directory, run it.

This way you never have to touch the script, just create a folder with
the right name and drop a script in it.

It's fast, simple and reliable.

Regards,

Rick

Ulrich Mack
Volante Systems


-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Nick Crisp
Sent: Tuesday, 11 October 2005 11:36 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Mapping a network drive on an application basis


Hi All
Is there an easy method by which to map a network drive on a per
application basis

I used to simply add a logon script for each user however this is
becoming quite cumbersome as numerous users have access to multiple
applications and i dont want to slow down their login process while
waiting for 10 drives to map when the session may only use one of these
maps

I tried using a batch file to start the application itself although the
batch file didnt like UNC paths, and doesnt look very pretty, is there a
nice tidy way to do this, is this my best option?

Thanks Nick

#####################################################################################
This e-mail, including all attachments, may be confidential or privileged.  
Confidentiality or privilege is not waived or lost because this e-mail has been 
sent to you in error.  If you are not the intended recipient any use, 
disclosure or copying of this e-mail is prohibited.  If you have received it in 
error please notify the sender immediately by reply e-mail and destroy all 
copies of this e-mail and any attachments.  All liability for direct and 
indirect loss arising from this e-mail and any attachments is hereby disclaimed 
to the extent permitted by law.
#####################################################################################
********************************************************
This Weeks Sponsor: Cesura, Inc.
Know about Citrix end-user slowdowns before they know.
Know the probable cause, immediately.
Know it all now with this free white paper.
http://www.cesurasolutions.com/landing/WPBCForCitrix.htm?mc=WETBCC
********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: