vbscript - Common startup parameter doesn't act as SpecialFolders -


if want create shortcut of application can use following code

    dim filename     filename = objfso.getfilename(objfile)     set shortcut =      createobject("wscript.shell").createshortcut(createobject("wscript.shell").specialfolders("startup") & + "\" + filename + ".lnk") 

but if change

.specialfolders("startup") 

parameter

.specialfolders("common startup") 

it doesn't work not strange ?


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -