Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Scripting > Re: how do use tow file int login script in AD

Reply
Thread Tools Display Modes

Re: how do use tow file int login script in AD

 
 
Pegasus \(MVP\)
Guest
Posts: n/a

 
      01-11-2009

"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?


 
Reply With Quote
 
 
 
 
Richard Mueller [MVP]
Guest
Posts: n/a

 
      01-11-2009

"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
--


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
file permissions via login script John Active Directory 2 03-12-2008 07:46 PM
login script to copy file Rhea Windows Server 13 01-10-2008 08:27 PM
copy file from login script Rhea Windows Small Business Server 11 01-03-2008 05:40 PM
Re: copy file using VBS login script Michael Harris \(MVP\) Scripting 0 02-19-2007 08:42 PM
Login Script - a log file overwritten by echo %var% >> file john Server Networking 0 02-27-2004 09:36 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59