Option Explicit
Dim Shell, Title, obj
' Fetch the object reference for the Shell
Set Shell = WScript.CreateObject ("Shell.Application")
Set obj = WScript.CreateObject("WScript.Shell")
' invoke the End-method?
If (MsgBox("Logoff?",vbYesNo + vbQuestion, Title) =...
Try using the percentage command instead of exact sizes for your graphics etc....
For example:
<A HREF=blahblah><IMG ALIGN=Center SRC="somejpg.jpg" width="60%" height="28%" border="0" alt="some explanation">
This will give you the age of the password in days :-
on error resume next
dim wshshell, objuser, myfile, FSO
objPath =inputbox("Please enter users login")
adsPath = "WinNT://idghead/" & objPath &",user"
Set objuser = GetObject(adsPath)
set FSO =...
If your client PC's are Windows 98 you can use the script part below :-
set personal=wscript.createobject("wscript.shell")
personal.regwrite"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User shell Folders\personal","\\SERVER_NAME\SHARE"...
on error resume next
set wshshell=wscript.createobject("Wscript.shell")
Set dom = GetObject("WinNT://idghead")
set FSO = CreateObject("scripting.FileSystemObject")
set myFile = fso.createtextfile("users.txt", true)
dom.Filter = Array("user")
For...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.