#9051 - 2001-05-31 06:59 PM
Re: shell fails on win95 boxes
|
Anonymous
Anonymous
Unregistered
|
SetConsole("HIDE") If Exist("c:\windows\profiles\%net_name%\desktop\Page Gate.lnk") Shell "command /c echo @date,@time,@userid,@wksta,@ipaddress0,@address,PageGate 3.6 client setup not required >> \\amlars201\common\logs\pagegate\pgpoly.txt" $user=@USERID $name=@FULLNAME $ipa=@IPADDRESS0 $msg=$name + Chr(10) + "The PageGate Client shortcut icon is on your desktop" + Chr(10) + "If PageGate is not functioning properly" + Chr(10) + "Contact Joe Smith, (***) ***-****" MessageBox($msg, "PageGate Icon Update not Required", 64, 10) Else $user=@USERID $name=@FULLNAME $ipa=@ipaddress0 $msg=$name + Chr(10) + "The PageGate Client setup will now execute " + Chr(10) + "After installation completes, please run PageGate to verify connectivity" + Chr(10) + "If you need assistance" + Chr(10) + "Contact Joe Smith, (***) ***-****" MessageBox($msg, "PageGate Icon Update", 64, 10) ;run "erase note pa*.* /s"' ;run "\\amlars406\apps\pagegate\client\setup\pgcsetup.exe /S" ;shell 'regedit /s n:\pagegate\pagegate.reg"' shell 'command.com /c "echo @date,@time,@userid,@wksta,@ipaddress0,@address,PageGate 3.6 client setup executed >> c:\pgpoly.txt"' endif *************** I understand if my convenient variable values are now gone and I need to know how I can relate to the set variables in 95... I switched to run and app will install how can I use echo to txt file .. tried shell with the following... command.com /c %comspec% /c [This message has been edited by pearsdb (edited 31 May 2001).]
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 764 anonymous users online.
|
|
|