Retrieve Network Logon Name?

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
Dexter1
Pro Scripter
Posts: 64
Joined: Mon Jun 19, 2006 3:28 pm

Retrieve Network Logon Name?

Post by Dexter1 » Fri Oct 27, 2006 2:51 pm

We develope and distribute a lot of Access databases here. We currently use .bat files to handle the installation of the front ends on users' computers but I'd like to make everything a lot simpler for them by using Macro Scheduler and then compiling .exes.

Moving the files around is easy enough but I'd like to create a shortcut on the desktop. To do that, I need to know the user's network logon name. Is there a way to capture that? I'm betting this is possible since I haven't come up with an idea Macro Scheduler can't handle yet.

Thanks In Advance,
Josh
Thanks,
Josh

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri Oct 27, 2006 2:54 pm

Just use the system variable %USER_NAME%
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts