|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
I got Values From ASP Passed To Batch File .. Many Thanks:-)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% ======================== You're welcome.
Robin S. ------------------------------- Show quoteHide quote "Ahmad Sabry" <Egyptyr***@gmail.com> wrote in message news:ubaA0DdEHHA.4508@TK2MSFTNGP02.phx.gbl... > 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% > ======================== > > > >
what is a static property and a cursor question
Why is this simple addition throwing an overflow exception? Delete Directory not working Updating Datagridview Data entry into ComboBox VB.NET debug error Create Serial Number VS 2005 baffled at step 1 How to run and communicate a DOS program file in a VB.NET program? Need help with CreateFile API function |
|||||||||||||||||||||||