Jump to content

Looking for global USER name paramter


Recommended Posts

Posted (edited)

Examples:

%sleep%

%appdata%

In the appdata example, it marks YOUR appdata location:

C:\Documents and Settings\NIGHTLORD\application data

What 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 to

C:\Documents and Settings\NIGHTLORD

but if Bob is logged in it points to

C:\Documents and Settings\Bob

Is there such a parameter?

Edited by Nightlord

Posted (edited)

  • %USERNAME% - NIGHTLORD
  • %USERPROFILE% - C:\Documents and Settings\NIGHTLORD

Edited by Yzöwl

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...