|
-
Sep 12th, 2007, 03:16 PM
#1
Thread Starter
Hyperactive Member
Batch File Input
Is there a way to require the user of the batch file to input a certian text to continue on the in the program? then if it is correct do something, if it is wrong, do something else? Thanks in advance...
Haikus are easy.
But sometimes they don't make sense.
Refrigerator.
-
Sep 12th, 2007, 04:56 PM
#2
Re: Batch File Input
The very definition of a batch file, is that the computer has no interaction with the user. Batch files are just for commands that the computer executes one after the other.. no user input is required.
chem
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Sep 13th, 2007, 06:52 AM
#3
Re: Batch File Input
You want a shell script, not a batch file.
What shell are you using?
-
Sep 13th, 2007, 03:13 PM
#4
Thread Starter
Hyperactive Member
Re: Batch File Input
What do you mean, I decided to try something else... Look here
Haikus are easy.
But sometimes they don't make sense.
Refrigerator.
-
Sep 14th, 2007, 07:24 AM
#5
Re: Batch File Input
Are you using C++ for this app?
-
Sep 14th, 2007, 02:13 PM
#6
Thread Starter
Hyperactive Member
Re: Batch File Input
ummmm. look at the link... :P
Haikus are easy.
But sometimes they don't make sense.
Refrigerator.
-
Sep 21st, 2007, 02:53 PM
#7
Re: Batch File Input
There are a few programs (ask.com, number.com, input.com) that can be called from a batch file and they return a numeric result which can be tested as an error code.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|