I got Values From ASP Passed To Batch File .. Many Thanks:-)

  • Thread starter Thread starter Ahmad Sabry
  • Start date Start date
A

Ahmad Sabry

Thanks Phill W.
Thanks RobinS
it was solved .. i got Access is denied it was because of the Internet
Explorer Security.
Thanks again.
Dim A As String
Dim B As String
A = TextBox1.Text
B = TextBox2.Text
Dim p As New System.Diagnostics.Process
With p
With p.StartInfo
.FileName = "C:\Doit.bat"
.Arguments = A & " " & B
End With
.Start()
.WaitForExit()
End With
========================
@ECHO OFF
Set A=%1
Set B=%2
mkdir c:\%A%
Mkdir C:\%B%
========================
 
Back
Top