Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CreateShortcut
#1
Hello.

What am i doing wrong by creating a shortcut to my user folder on the server?
The shortcut is created correctly, but only with my first name. The lastname ist missing.
firstname.lastname will result to only firstname.

Code:
Copy      Help
out
Wsh.IWshNetwork_Class n._create
str username =  n.UserName
out username
str serverprofilepath.format("\\server1\benutzer\%s" username)
out serverprofilepath
CreateShortcut("$Desktop$\" serverprofilepath)


Messages In This Thread
CreateShortcut - by _pi - 10-19-2018, 03:38 PM
RE: CreateShortcut - by Gintaras - 10-19-2018, 04:08 PM
RE: CreateShortcut - by _pi - 10-22-2018, 11:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)