Originally Posted by
Micron
Just in case anyone else stumbles on this thread, I think the value you were looking for is C:\Users\%USERNAME%\rest of path here. %USERNAME% is often used in batch or command files. I know a person who always used the Environ variable but had to change all his databases - something changed in the company servers, but I don't recall what. Nothing wrong with the method if it works. There is also a way to get the user's network login id and look that up in a user table for any user data. You would find the code for that posted in this forum and many other places by searching for apiGetUserName.