Hi,
ich installiere Notes immer im Programmverzeichnis, also c:\Programme\Notes5
Dann habe ich mehrere Datenverzeichnisse:
D:\Notes\Notes5011_1
D:\Notes\Notes5011_2
D:\Notes\Notes5011_3
etc.
Die Notes.ini habe ich jeweils im Datenverzeichnis. Auf dem Desktop sind dann jeweils Shortcuts für Notes5011_1, Notes5011_2, Notes5011_3 etc (wo bei 'Ausführen in' auf das jeweilige Datenverzeichnis verwiesen wird).
Problem:
Bei Tools wie NotesPeek (http://www-10.lotus.com/ldd/sandbox.nsf/ecc552f1ab6e46e4852568a90055c4cd/6bcca234153471348525689a0070bc43?OpenDocument) heisst es in der Installationsanleitung:
In order for NotesPeek (or any other Notes API program) to execute properly, the Notes dll's and the NOTES.INI file must be on your path.
In a command window, type:
C:> PATH
to show the value of your PATH environment variable. One of the components (separated by semicolons) should be the directory containing your Notes executables (usually C:\NOTES). In addition, the directory containing your NOTES.INI (usually C:\WINDOWS) should be on the path.
If either directory needs to be added, edit C:\AUTOEXEC.BAT or use your System control panel to add the directories to the PATH.
If the Notes dll's can't be found on the path, NotesPeek will not start; Windows will complain that it cannot find one of the dll's that it needs (for example, NNOTES.DLL).
If the NOTES.INI cannot be found on the path, NotesPeek will run, but will quickly complain that the NOTES.INI cannot be found on the path, and will exit.
Kopiere ich aber z.B. notespeek ins Datenverzeichnis D:\Notes\Notes5011_1, und mache in der DOS-Konsole eine Path-Zuweisung:
PATH C:\Programme\Notes5;D:\Notes\Notes5011_1
und führe dann NotesPeek aus, kommt trotzdem die Fehlermeldung "nNotes.dll" konnte nicht gefunden werden.
Woran könnte denn das liegen?
Matthias
eine andere Möglichkeit bestände vermutlich darin eine customized batch datei zu schreiben. War in pre-Eclipse/InteliJ Ära in Java sehr beliebt.
So nach dem Motto:
Set PATH=D:\Notes\Notes5011_1;%PATH%;
notesPeek.exe;
Das Set Path statement sorgt dafür, dass dieses spezifische Notes-Programmverzeichnis als erstes in der Path-Umgebungsvariable steht.
%PATH% kopiert den bestehenden PATH in den neuen Wert der PATH Variable.
Wenn du dann das bat startest, sollte es funktionieren.
Gruß Axel