whosthat
May 21st, 2003, 05:12 AM
hello,
I want to run a batch file from vbscript....here is how I do....
Function CallImport()
Dim labelvalue
Int return
txt1val = document.form1.txt1.value
Set oSh = createObject("WScript.shell")
return = oSh.run("C:\import.bat" ,1,TRUE)
End Function
Now I need to pass this "txt1val" as a parameter to the .bat file?
How can i do it? Pls help me out!
I want to run a batch file from vbscript....here is how I do....
Function CallImport()
Dim labelvalue
Int return
txt1val = document.form1.txt1.value
Set oSh = createObject("WScript.shell")
return = oSh.run("C:\import.bat" ,1,TRUE)
End Function
Now I need to pass this "txt1val" as a parameter to the .bat file?
How can i do it? Pls help me out!