Question about DOS Batch Files

Reply

Join Date: Sep 2005
Posts: 2
Reputation: AJ_Allmendinger is an unknown quantity at this point 
Solved Threads: 0
AJ_Allmendinger AJ_Allmendinger is offline Offline
Newbie Poster

Question about DOS Batch Files

 
0
  #1
Sep 7th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 902
Reputation: chrisbliss18 is an unknown quantity at this point 
Solved Threads: 23
chrisbliss18's Avatar
chrisbliss18 chrisbliss18 is offline Offline
Posting Shark

Re: Question about DOS Batch Files

 
0
  #2
Sep 9th, 2005
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?
Did we help you? Did we miss the point entirely? Update your thread and let us know.
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 2
Reputation: AJ_Allmendinger is an unknown quantity at this point 
Solved Threads: 0
AJ_Allmendinger AJ_Allmendinger is offline Offline
Newbie Poster

Re: Question about DOS Batch Files

 
0
  #3
Sep 9th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,144
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Question about DOS Batch Files

 
0
  #4
Sep 10th, 2005
What you might want to do is install something like Python or Ruby and write your scripts in that.
No need for compilers.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 10
Reputation: The_Inferno is an unknown quantity at this point 
Solved Threads: 0
The_Inferno The_Inferno is offline Offline
Newbie Poster

Re: Question about DOS Batch Files

 
0
  #5
Oct 4th, 2005
Compiled languages seem to be fading. :p
Yeah I heard ruby was good too tho.
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 129
Reputation: Evenbit is on a distinguished road 
Solved Threads: 4
Evenbit's Avatar
Evenbit Evenbit is offline Offline
Junior Poster

Re: Question about DOS Batch Files

 
0
  #6
Oct 8th, 2005
Originally Posted by AJ_Allmendinger
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.
Some people have figured out how to do quite a good bit of processing work via batch files: ftp://137.193.64.130/pub/
while (CPU is present) {some assembly required}
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 129
Reputation: Evenbit is on a distinguished road 
Solved Threads: 4
Evenbit's Avatar
Evenbit Evenbit is offline Offline
Junior Poster

Re: Question about DOS Batch Files

 
0
  #7
Oct 8th, 2005
Originally Posted by jwenting
What you might want to do is install something like Python or Ruby and write your scripts in that.
No need for compilers.
Or you can install AutoIt. And you can optionally compile & compress your scripts too if you don't want to force your clients to download a runtime engine.
while (CPU is present) {some assembly required}
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 129
Reputation: Evenbit is on a distinguished road 
Solved Threads: 4
Evenbit's Avatar
Evenbit Evenbit is offline Offline
Junior Poster

Re: Question about DOS Batch Files

 
0
  #8
Oct 8th, 2005
Originally Posted by The_Inferno
Compiled languages seem to be fading. :p
Yeah I heard ruby was good too tho.
No...the pendulum is swinging back the other way now. When was the last time that CPU clock speed doubled? As users continue to demand more functionality and more eye-candy multimedia, it will be up to the software to pull it off -- and that can't be done with interpreted languages and virtual machines.
while (CPU is present) {some assembly required}
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Legacy and Other Languages Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC