Home All Groups Group Topic Archive Search About

how do use tow file int login script in AD

Author
11 Jan 2009 3:23 PM
masumi
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.htmhttp://forums.techarena.in

Author
11 Jan 2009 4:26 PM
Pegasus (MVP)
Show quote Hide quote
"masumi" <masumi.3lux3d@DoNotSpam.com> wrote in message
news:masumi.3lux3d@DoNotSpam.com...
>
> 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?
Author
11 Jan 2009 6:10 PM
Richard Mueller [MVP]
Show quote Hide quote
"Pegasus (MVP)" <I.***@fly.com.oz> wrote in message
news:OYO9PlAdJHA.5788@TK2MSFTNGP03.phx.gbl...
>
> "masumi" <masumi.3lux3d@DoNotSpam.com> wrote in message
> news:masumi.3lux3d@DoNotSpam.com...
>>
>> 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
--