Skip to Content
0
Former Member
Jun 04, 2007 at 11:24 AM

Execute script in portal

29 Views

Hi,all

I need to execute script in portal during user first time logon.

The script is doing the following:

set oFS = CreateObject("Scripting.FileSystemObject")

HostsPath = "C:\WINDOWS\system32\drivers\etc\Hosts"

set HostsFile = oFS.OpenTextFile(HostsPath , 8,True)

HostsFile.writeline "156.134.112.15 sapportal"

How can I do it?

Regards,

Michael