Can sombody tell me when to create .wsf file and when .wsc. ie. what is the
difrence between windows scripting component and windows scripting file ?
10x!
A WSC is a script component which needs to be registered on the system where it will be used, and is referenced from other scripts (or any engine capable of using COM objects) via its Programmatic Identifier or GUID.
"syl" <sy...@abv.bg> wrote in message news:ernyipO1BHA.2440@tkmsftngp03...
Not exactly true...
set obj = getobject("script:component_path#component_id")
where
component_path can be:
c:\mypath\mywsc.wsc
\\server\share\mypath\mywsc.wsc
http://server/mysite/mypath/mywsc.wsc
#component_id is optional. You get the 1st component in the WSC by default. You only need #component id if there is more than one in the WSC and you want one other than the first...
--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US
--
"Alex K. Angelopoulos" <alex_angelopoulos_at_hotmail_dot_com_remove__> wrote in message news:eJ4q4vO1BHA.1452@tkmsftngp05...
"Michael Harris (MVP)" <mik...@mvps.org> wrote in message news:uKQPMyT1BHA.2736@tkmsftngp03...