Login | |
|
 |
RE: Please!!! I need help editing files with VBscript - 4/19/2006 4:53:59 PM
|
|
 |
|
| |
kirrilian
Posts: 628
Score: 3
Joined: 3/15/2005
From:
Status: offline
|
you could pull that user's email addy from AD (ugh?) and insert it into the ini file you are contradicting yourself by the way, quote:
This way enables each user to have their own email address inserted into the program's INI file and overwrites the previous user's setting before the program actually runs. contradicts: quote:
The problem is that there are other settings in the INI file that a user can change over time. since it sounds like you are trying to get a per user ini setting, why not save each person's ini as a separate file, like username.ini, then just rename it to the original ini each time? that way each user can maintain their own preferences. you could probably even do this with just a batch file as well.
_____________________________
Have you searched here ? VBScript Fundamentals My Site
|
|
| |
|
|
|
 |
RE: Please!!! I need help editing files with VBscript - 4/20/2006 1:59:04 AM
|
|
 |
|
| |
Country73
Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
|
I believe what kirrilian was getting at was: You can create a vbscript to alter the email address for the individual that logs into the machine, but you also stated that other settings inside the ini may be altered by each individual. If another line in the ini is altered by USERB, then when you replace USERB's email address when USERC logs in, all the "altered" settings that USERB created will also stay for USERC. If a seperate INI was created for each individual, any changes each USER() makes will be stored in their own INI file. Clear as mudd?
|
|
| |
|
|
|
|
|