Nightlord Posted October 28, 2006 Posted October 28, 2006 (edited) Examples:%sleep%%appdata%In the appdata example, it marks YOUR appdata location:C:\Documents and Settings\NIGHTLORD\application dataWhat I'm looking for is a global parameter of NIGHTLORD in the example above, but that pulls it for whoever is logged on.IE:If I type in this command and NIGHTLORD is logged on, it points toC:\Documents and Settings\NIGHTLORDbut if Bob is logged in it points toC:\Documents and Settings\BobIs there such a parameter? Edited October 28, 2006 by Nightlord
Yzöwl Posted October 28, 2006 Posted October 28, 2006 (edited) %USERNAME% - NIGHTLORD%USERPROFILE% - C:\Documents and Settings\NIGHTLORD Edited October 28, 2006 by Yzöwl
Nightlord Posted October 28, 2006 Author Posted October 28, 2006 Awesome, thanks. I'll give it a shot for what I'm trying to do.
Ctrl-X Posted October 29, 2006 Posted October 29, 2006 To get a list of all active environment variables, open a command prompt window and type SET [Enter].
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now