473,405 Members | 2,282 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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

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%
========================


Nov 27 '06 #1
1 935
You're welcome.
Robin S.
-------------------------------
"Ahmad Sabry" <Eg********@gmail.comwrote in message
news:ub**************@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%
========================


Nov 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: brad | last post by:
I am new to perl and would like to know how to check the return values of a perl program in a batch file. how can I save the return value of the perl program and use it to make decisions as to...
3
by: Monica J. Braverman | last post by:
My client will be receiving a .dbf file which needs to be uploaded into a sql server database table (as an append) every week. They are NOT computer savvy and I would like to automate this process...
4
by: Bill | last post by:
I need help closing a CMD window when it is executed from Access. 1) The batch file is called from Access. 2) Access closes, 3) the batch runs a copy of the access database (creating a backup)...
1
by: code_wrong | last post by:
Hi, I'm reading this: http://www.catch22.net/tuts/selfdel.asp (Self Deleting Executables) and playing around with the batch file method .. trouble is I always get a command box at the end with...
4
by: | last post by:
Hello, I am attempting to convert multiple .wav files to the .flac format via a batch script. I know that this can be done with numerous software implementations automatically for me; however, i am...
1
by: steve | last post by:
Hi all, Here's some work in progress that should allow you to run a batch file as a custom action in a VS deployment project. Yup I know you can use js or wsh, but the target may not have...
0
by: elegipcio | last post by:
Hello everyone i'm new to asp.net i'm looking to How to get values (Variables) pre Declared in web form & pass it to a batch file. coz i've to get this values to be added to the batch file to...
0
by: sree078 | last post by:
Hi I have written stored procedures to create a database with db name as input parameter I need to create a batch file to run the stored procedure with input value given in the command prompt...
2
by: raghutumma | last post by:
Hi, How can we execute SQL Scripts using Batch file??? i think Batch file should contain Username,Password,Database and Scripts... Using that file scripts should run... How can i give...
14
by: =?Utf-8?B?R2lkaQ==?= | last post by:
Hi, In my windows applicationm, i need to excute a batch file. this batch file throws some text and questions to the screen, i need to catch the standard Output, check if it's a question, in...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.