cancel
Showing results for 
Search instead for 
Did you mean: 

Execute script in portal

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

solved by myself