A ver, en local ya puedo crear el archivo Bat con FSO
Código asp:
Ver original<%@ Language="VBScript" %>
<%
Dim protocolo, urlsnap, imagepath, objShell, execute, command, objFSO, objFile
protocolo = "http://"
urlsnap = "google.com"
imagepath = "C:\captura\"
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objFile = ObjFSO.CreateTextFile(Server.MapPath("capturar.bat"))
objFile.WriteLine "@echo off"
objFile.WriteLine "-url2bmp.exe"
objFile.WriteLine "-url "&protocolo&urlsnap
objFile.WriteLine "-format jpg"
objFile.WriteLine "-file "&imagepath&urlsnap&".jpg"
objFile.WriteLine "-wx 1024"
objFile.WriteLine "-wy 768"
objFile.WriteLine "-maximize"
objFile.WriteLine "-wait 2"
objFile.WriteLine "-notinteractive"
objFile.WriteLine "-prompt"
Set objFSO = nothing
Set objFile = nothing
Set objShell = Server.CreateObject("WScript.Shell")
command = imagepath&"capturar.bat"
Set execute = objShell.exec(command)
Set objShell = nothing
%>
Lo unico que me falta es colocar lo necesario en el batch.