Link to home
Start Free TrialLog in
Avatar of VirtualC
VirtualC

asked on

Creating a bat file fo Note.ini

I have 50 users that i need to change their Note.ini to point to different paths.
I would like to modify the following entries:
Directory=S:\Program files\Lotus\Notes\Data to D:\Sharename\%usename%\Notes\Data
FileDlgDirectory=c:\Documents And settings\%username%\my Documents to D:\Sharename\%usename%\Notes\Data
From  Location=Office  to Location=Remote
From Names=D:\  ???\??\?? to D:\Sharename\%usernam%\Notes\Data\names.nsf
From Desktopm6=D:\  ???\??\?? to D:\Sharename\%usernam%\Notes\Desktop6.ndk
From SPELL_DIR=D:\Share\%usename%\Notes\data


The tricky part is i don't have access neith will have access to the users directory where the Note.ini is located now. So i have to create another batch file to run with the logon script to copy the noteini from the original lov=cation to the new location. Then i would run a second batch that will modify the enties listed above.

Might not sound easy, but all i need is 2 seperate batch files

I would eally appreciate the greate help you will provide asap.

ASKER CERTIFIED SOLUTION
Avatar of Shift-3
Shift-3
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AmazingTech
AmazingTech

Is this the full notes.ini?

Keep going with the other INI settings.
ECHO Directory=D:\Sharename\%username%\Notes\Data>"%UserProfile%\Notes.ini"
ECHO FileDlgDirectory=D:\Sharename\%username%\Notes\Data>>"%UserProfile%\Notes.ini"
ECHO Location=Remote>>"%UserProfile%\Notes.ini"
ECHO Names=D:\Sharename\%username%\Notes\Data\names.nsf>>"%UserProfile%\Notes.ini"
ECHO Desktopm6=D:\Sharename\%username%\Notes\Desktop6.ndk>>"%UserProfile%\Notes.ini"
ECHO SPELL_DIR=D:\Share\%username%\Notes\data>>"%UserProfile%\Notes.ini"

Open in new window