October 28, 200619 yr 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, 200619 yr by Nightlord
October 28, 200619 yr %USERNAME% - NIGHTLORD%USERPROFILE% - C:\Documents and Settings\NIGHTLORD Edited October 28, 200619 yr by Yzöwl
October 29, 200619 yr To get a list of all active environment variables, open a command prompt window and type SET [Enter].
Create an account or sign in to comment