[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 303
  • Last Modified:

VBS login script. %username% dos equivalent

Can anyone please advise me how to use a .vbs script to accomplish what the below dos command will do.

I am trying to map a user directly to their shared private directory by using there logon name.

Thanks,

net use q: \\servername\private_folders\%USERNAME%
0
ITHCI
Asked:
ITHCI
1 Solution
 
james-ct16Commented:
hi

There is a very good example on how to do this here

http://www.tek-tips.com/viewthread.cfm?qid=933360&page=8


Hope that is of some help

james
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now