In this video we are going to create a simple script or program that will Welcome with voice and tell user date and default time while logging in windows.
Code:
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
Sapi.speak "Welcome to the System Admin"
Sapi.speak "Today's date is "
Sapi.speak date()
Sapi.speak hour(time)-12
Sapi.speak minute(time)
Connect with us in Facebook:
/ iwritecodee
Connect on Instagram:
/ asimpathak