Scripts
how do i write scripts in winnt
send me some sample scripts.
thanks
Windows Forum
how do i write scripts in winnt
send me some sample scripts.
thanks
by kplesch
By you hand.
This is simple registration VB-script:
'Declarations
Dim WSHNetwork
Dim WSHShell
'Object initialization
Set WSHNetwork = WScript.CreateObject("WScript.Network")
Set WSHShell = WScript.CreateObject("WScript.Shell")
'Connectnetwork drive
WSHNetwork.MapNetworkDrive "H:", "\\FOBOS\D"
'If Administrator logon - welcome message
If WSHNetwork.UserName = "Admin" Then
WSHShell.Popup "Good day. System welcome your Administrator", 10, "Welcome"
End If
This is very simple :-)
by ravi1b
by rgbraze
by ravi1b
by ravi1b
This discussion is closed to new replies.
Sort by Trending