"Pegasus (MVP)" <> wrote in message
news:...
>
> "masumi" <> wrote in message
> news:...
>>
>> I want use one vbs file and one bat file together in login script
>> please help me
>>
>>
>> --
>> masumi
>> ------------------------------------------------------------------------
>> masumi's Profile: http://forums.techarena.in/members/masumi.htm
>> View this thread: http://forums.techarena.in/server-scripting/1101808.htm
>>
>> http://forums.techarena.in
>>
>
> I may be missing something here - why don't you simply invoke one file
> from the other?
>
From a batch file logon script I launch a VBScript program with a statement
similar to:
wscript \\MyServer\MyShare\MyLogon.vbs
If the logon script is configured on the Profile tab of ADUC, I use:
wscript %0\..\MyLogon.vbs
where the batch file and vbs file are both in the NetLogon folder.
--
Richard Mueller
MVP Directory Services
Hilltop Lab -
http://www.rlmueller.net
--