Hi,everyone!I'm new here.
my company had to upgrade several softwares,so i made a little
program by VBScript.when all the users used my program to upgrade
their softwares,some problems happened. here are the problems:
1. if userDom="NTDM001" then
(copy some files)
elseif userDom > "PC4999" and userDom<"PC6000" then
if userNam = "VBSADMIN" then
(copy some other files)
WSHShell.Popup "Please log on with
there are several users,domain user and two local users,we want users
to logon with domain user or local user(VBSADMIN),when they logon
with another local user(VBSUSER),the popup will show(Please log on
with VBSADMIN.).the problem is when some users logon with VBSUSER,the
program recognized them as VBSADMIN.I don't know what's wrong,maybe
the program is not profect.
2.objnotesJ=WSHShell.Run(CTemp&"notes8j.exe /w",, True)
objExec = WSHShell.Run(CTemp&"Notes8j\setup.exe /w",, True)
after unpack the compressed file(notes8j.exe),the program will run
setup.exe,it happened to a few computers,the program didin't run
setup.exe,and there wasn't error message either.
Plese help me find the answers.
*** Sent via Developersdex http://www.developersdex.com