News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
Function to return the current directory
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: Function to return the current directory

Those two variables were simply the only two listed under system properties (why, i don't know).
I used the "set" command to display the environment and found a few that will be helpful. I just hope the variable names are the same from one Windows version to another.
Here are some on Windows XP that look like they might be useful:
APPDATA=C:\Documents and Settings\mik\Application Data
HOMEPATH=\Documents and Settings\mik
OS=Windows_NT
USERNAME=mik
USERPROFILE=C:\Documents and Settings\mik

No idea why HOMEPATH and USERPROFILE are both used

07-24-2007 09:36 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
RE: Function to return the current directory - mikshaw - 07-24-2007 09:36 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: