RE: [ActiveDir] If, and, or in .vbs

2005-12-13 Thread Brian Desmond
Dim isLocked isLocked = RegRead(Stuff) Dim ssTimeout ssTimeout = RegRead(MoreStuff) If (isLocked = 0) or (CInt(ssTimeout) 900) Then Do Stuff End If This helps? Thanks, Brian Desmond [EMAIL PROTECTED] c - 312.731.3132 From: [EMAIL PROTECTED]

RE: [ActiveDir] If, and, or in .vbs

2005-12-13 Thread Harding, Devon
Desmond Sent: Tuesday, December 13, 2005 12:05 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] If, and, or in .vbs Dim isLocked isLocked = RegRead(Stuff) Dim ssTimeout ssTimeout = RegRead(MoreStuff) If (isLocked = 0) or (CInt(ssTimeout) 900) Then Do Stuff End

RE: [ActiveDir] If, and, or in .vbs

2005-12-13 Thread Harding, Devon
The only problem I have is that I cant get it to auto logoff after 20 Seconds. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon Sent: Tuesday, December 13, 2005 2:49 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] If, and, or in .vbs

RE: [ActiveDir] Authenticated drive mapping via .vbs

2005-10-13 Thread Harding, Devon
I seem to getting a syntax error on the comma or space after the username. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Crawford, Scott Sent: Thursday, October 13, 2005 11:49 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Authenticated drive

RE: [ActiveDir] Authenticated drive mapping via .vbs

2005-10-13 Thread Crawford, Scott
Sorry, username and password need to be in quotes. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon Sent: Thursday, October 13, 2005 12:04 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Authenticated drive mapping via .vbs I seem

Re: [ActiveDir] Authenticated drive mapping via .vbs

2005-10-13 Thread Kamlesh Parmar
a syntax error on the comma or space after the username. From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Crawford, Scott Sent: Thursday, October 13, 2005 11:49 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Authenticated drive mapping via .vbs Set

RE: [ActiveDir] Authenticated drive mapping via .vbs

2005-10-13 Thread Harding, Devon
Of Crawford, Scott Sent: Thursday, October 13, 2005 1:59 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Authenticated drive mapping via .vbs Sorry, username and password need to be in quotes. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon

RE: [ActiveDir] Authenticated drive mapping via .vbs

2005-10-13 Thread David Cliffe
] On Behalf Of Harding, DevonSent: Thursday, October 13, 2005 3:24 PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Authenticated drive mapping via .vbs Quotes work. Now I just need to be able to sync time with my local DC via .vbs. In my batch file, I have