Jump to content

How to find what user you are in?


Juf

Recommended Posts

My question is;

How do you find out what user you are in (for windows)?

Example;

Say I was on user tsi (I'm doing this so i can bind it with switchblade and get MSN logs, I know I'm a noob). If I'm using switchblade I won't (usually) have enough time to manually enter the user name. So if my program can find out the user then it would automatically copy (hence the example use tsi) C:\Documents and Settings\tsi\My Documents\My Chat Logs to E:/Dump/ or whatever.

So far I haven't started making this so I will except any languages you may offer a solution for... I currently know, Lua, C, C++, Java, and DOS.

Thanks in Advance,

Juf

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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