![]() |
| ||
| Question about DOS Batch Files I'm a newbie at writing DOS batch files. I've tried to look for it, but I can't seem to figure out how to read from an input file. Is there an equivalent of a cin statement in DOS Batch programming. |
| ||
| Re: Question about DOS Batch Files Batch files are just a way of grouping together calls to programs and system commands. Everything in a batch file is just something that you can do on the command line. The power comes from being able to group together numerous calls to execute a series of steps. If you are creative in how you use the tools that you have access to, you can create some seemingly intelligent behavior. I have a feeling that you may be expecting too much out of batch files, but it could be possible to do what you want. What exactly is it that you want to do? |
| ||
| Re: Question about DOS Batch Files You're right, I was expecting too much... I worked around it by having the autoexec.bat call a C++ program that served as a batch file except with more functionality. Thanks.... AJ |
| ||
| Re: Question about DOS Batch Files What you might want to do is install something like Python or Ruby and write your scripts in that. No need for compilers. |
| ||
| Re: Question about DOS Batch Files Compiled languages seem to be fading. :p Yeah I heard ruby was good too tho. |
| ||
| Re: Question about DOS Batch Files Quote:
|
| ||
| Re: Question about DOS Batch Files Quote:
|
| ||
| Re: Question about DOS Batch Files Quote:
|
| All times are GMT -4. The time now is 5:44 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC