Home All Groups Group Topic Archive Search About

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

Author
27 Nov 2006 3:05 AM
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%
========================

Author
27 Nov 2006 3:51 AM
RobinS
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%
> ========================
>
>
>
>