datemi una mano passo-passo.
devo lanciare il comando dos
sCmd = “pdftk fileGenerato.pdf fileSecondario.pdf cat output fileUnito.pdf”
con questa stringa di codice:
< %
Dim wshell, intReturn
Dim sCmd
sCmd = “pdftk fileGenerato.pdf fileSecondario.pdf cat output fileUnito.pdf”
set wshell = Server.Createobject(”wscript.shell”)
intReturn = wshell.run(sCmd , 0 , true)
set wshell = nothing
%>
- dove devo mettere il programma dos pdftk? (nella stessa cartella del file asp che contiene - questo codice?
- questa riga di codice la vedo mettere nel header dove c'è script? indicando language "VBscript"?
- non esiste qualcosa in javascript
- posso inserirlo in una funzione che richiamo nel tag body (tipo onLoad="funzione_da_chiamare();")?
- posso dare in pasto a wshell un comando tipo ping o il banale copy?
Grazie:elvis:
devo lanciare il comando dos
sCmd = “pdftk fileGenerato.pdf fileSecondario.pdf cat output fileUnito.pdf”
con questa stringa di codice:
< %
Dim wshell, intReturn
Dim sCmd
sCmd = “pdftk fileGenerato.pdf fileSecondario.pdf cat output fileUnito.pdf”
set wshell = Server.Createobject(”wscript.shell”)
intReturn = wshell.run(sCmd , 0 , true)
set wshell = nothing
%>
- dove devo mettere il programma dos pdftk? (nella stessa cartella del file asp che contiene - questo codice?
- questa riga di codice la vedo mettere nel header dove c'è script? indicando language "VBscript"?
- non esiste qualcosa in javascript
- posso inserirlo in una funzione che richiamo nel tag body (tipo onLoad="funzione_da_chiamare();")?
- posso dare in pasto a wshell un comando tipo ping o il banale copy?
Grazie:elvis: