Hi all ,I am very new to tcl scripting, however I need to modify a tcl script to change the AccessSSLFlags of the IIS6 .I wrote the following code insside my tcl script ,but can't make it work.
catch { [exec cscript.exe //Nologo "%SystemDrive%\inetpub\adminscripts\adsutil.vbs" set w3svc/1/root/xxxx/AccessSSLFlags 8]}erk
I tried running 'cscript.exe //Nologo "%SystemDrive%\inetpub\adminscripts\adsutil.vbs" set w3svc/1/root/xxxx/AccessSSLFlags 8' on the server and it worked fine how ever whenever I tried to run it inside a tcl it fails.Do you have any clues about this?I thinking may be it is failing because of a timeout.May be its waiting the cscript to end? Any help will be much appreciated.
Cheers
Can
catch { [exec cscript.exe //Nologo "%SystemDrive%\inetpub\adminscripts\adsutil.vbs" set w3svc/1/root/xxxx/AccessSSLFlags 8]}erk
I tried running 'cscript.exe //Nologo "%SystemDrive%\inetpub\adminscripts\adsutil.vbs" set w3svc/1/root/xxxx/AccessSSLFlags 8' on the server and it worked fine how ever whenever I tried to run it inside a tcl it fails.Do you have any clues about this?I thinking may be it is failing because of a timeout.May be its waiting the cscript to end? Any help will be much appreciated.
Cheers
Can