Re: Logon Script to check if current day is Friday
- From: Jerold Schulman <Jerry@xxxxxxxxxx>
- Date: Fri, 29 Dec 2006 07:56:17 -0500
On 28 Dec 2006 11:14:36 -0800, n_dionaldo@xxxxxxxxx wrote:
Is it possible to create a logon script to check if the current day is
a Friday? The script will runs a command if it is Friday and if its
not Friday it kills the script.
Much Thanks
--ND
DD = FormatDateTime(now, 1)
if Left(DD, 3) = "Fri" Then
Wscript.Echo DD
ELSE
Wscript.Quit
End If
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
.
- References:
- Logon Script to check if current day is Friday
- From: n_dionaldo
- Logon Script to check if current day is Friday
- Prev by Date: Help with Login Script.
- Next by Date: Re: Re: Script to create folder named by date
- Previous by thread: Logon Script to check if current day is Friday
- Next by thread: Re: Logon Script to check if current day is Friday
- Index(es):
Relevant Pages
|