How to launch batch image converter from Visual Basic script?

To launch the program from Visual Basic script add the similar sript to HTML file:

Example*:

<%@ LANGUAGE = "VBscript" %>
<% OPTION EXPLICIT %>

<%
Sub MyProcess

   dim commandLine, WshShell
  
  CommandLine = "C:\Program Files\ImageConverter Plus\ICPCL.exe -convertto jpg -source "D:\Inetpub\wwwroot\TIFes\000009.tif" -dest " D:\Inetpub\wwwroot\Out\" -oper Resize size:800 1256 keep_prop:no method: bilinear
  
   Set WshShell = Server.CreateObject("WScript.Shell")
   call WshShell.Run (commandLine,8,true)
   set WshShell=nothing
  
end sub

  call MyProcess
%>

This example works the same way with other support formats.

* This example works the same way with other support formats.