Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Congratulations for your great site. This site helped me more than university..."

Geography

Where in the world do Tek-Tips members come from?

Automatically Selecting the Directory and Entry

MyFlight (TechnicalUser)
13 Sep 02 16:50
this is a Follow-up question for the Resetting User-ID and Password question I submitted.

Is there a way to find the Connection Directory that is currently in use.  In addition, can I find the DIALENTRY.

I would like to use my Password script to change passwords within a connection directory.  

However, the way I currlty have the script file written you have to specify both the Connection Directory as well as the Entry Name.

Suggestions will be greatly appreciated.
knob (Programmer)
13 Sep 02 17:49
You can get the current Connection Directory from the $DDIRFNAME system variable.  It includes the full path of the file, so you may need to strip out just the filename depending on your purposes.

You may be able to use either the $DIALENTRY or $DIALSELECT to determine what entry was accessed last.

aspect@aspectscripting.com
http://www.aspectscripting.com

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close