Given a script that is started by a shortcut in the user's
SendTo directory; how can that script get the value of the
"Start in" property of the shortcut? In my example, the Start In
property is set to: c:\temp but
both WshShell.CurrentDirectory and fso.GetAbsolutePathName(".")
return "C:\documents and settings\<current user name>"
Re: help writting script to copy file to every desktop ... Then it will ping each computer to see if it is truly reachable. ... Here is a sample script that I use. ... Each shortcut is only 1KB each, so the extra replication traffic is nothing. ... You will get different methods, collections, and properties for a file than you will for a folder.... (microsoft.public.scripting.vbscript)
Re: Findout shortcut from which script was launched ? ... apply the script to selected files. ...&Cmd window in this directory ... Context Cmd window.lnk shortcut has the following properties set: ... and when selecting a file or several, selecting Send To the script in the ... (microsoft.public.scripting.vbscript)
Re: help writting script to copy file to every desktop ... I added the script to the policy assigned to the OU. ... Each shortcut is only 1KB each, so the extra replication traffic is nothing. ... You will get different methods, collections, and properties for a file than you will for a folder.... ' Create a collection of files in the folder object... (microsoft.public.scripting.vbscript)
Re: Shortcut on desktop via logon? ... I've been asked to distribute a shortcut to a web site to all my users. ... From this line I get no response in my batch file output.... the script will be unable to succeed as the logon ... the workstations while logged in to an account that is an admin on all ... (microsoft.public.windows.server.scripting)
Re: help writting script to copy file to every desktop ... Here is a sample script that I use. ... You should be able to limit the scope of the copy by creating multiple versions of this script and assign them to the group policy assigned to each AD site. ... Each shortcut is only 1KB each, so the extra replication traffic is nothing. ... You will get different methods, collections, and properties for a file than you will for a folder.... (microsoft.public.scripting.vbscript)