Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically Selecting the Directory and Entry

Status
Not open for further replies.

MyFlight

Technical User
Feb 4, 2002
193
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.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top