After all these years and now I have a new process to deal with @ work. Guess what? To make it work properly with our "methods" I'm having to write a Batch Script to handle file movements. WOW! Never thought I would have to dig that back out of my head. Command Line. So powerful! If I was smart I guess I could try with CYGWIN but I guess that adds an unnecessary layer there.
Announcement
Collapse
No announcement yet.
After ALL this time...DOS batch file is back!
Collapse
This topic is closed.
X
X
-
After ALL this time...DOS batch file is back!
After all these years and now I have a new process to deal with @ work. Guess what? To make it work properly with our "methods" I'm having to write a Batch Script to handle file movements. WOW! Never thought I would have to dig that back out of my head. Command Line. So powerful! If I was smart I guess I could try with CYGWIN but I guess that adds an unnecessary layer there.Tags: None
- Top
- Bottom
-
Re: After ALL this time...DOS batch file is back!
Sounds interesting. One of my computers runs entirely on batch files. That's how we used to do it with DOS and there wasn't really an "operating system" until the user made their own. Yes indeed very powerful, that's why I'm still using DOS.
- Top
- Bottom
-
Re: After ALL this time...DOS batch file is back!
Not uncommon at all.
Most of the major and critical work was done by batch files where I worked. These tasks included backing up, creating indexes on graphic files, importing flat files from old mainframes running COBOL, parsing those files and creating flat files that could be imported into Oracle, etc...
My son wrote a lot of them for his Oracle maintenance, but a few years ago switched most, but not all of them, to Java and Python."A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
– John F. Kennedy, February 26, 1962.
- Top
- Bottom
Comment
-
Re: After ALL this time...DOS batch file is back!
Still using DOS? Wow! Does that computer have a keyboard chiseled out of stone?
Kidding!
Anyway - my work system is loaded with batch files. I wrote a new one just the other day to extract data from a log file without having to dig through extraneous stuff or even worse - import it into some over-coded GUI based POS word processor!
- Top
- Bottom
Comment
-
Re: After ALL this time...DOS batch file is back!
GreyGeek: My son wrote a lot of them for his Oracle maintenance, but a few years ago switched most, but not all of them, to Java and Python.
oshunluvr: Still using DOS? Wow! Does that computer have a keyboard chiseled out of stone? Grin Grin Grin
- Top
- Bottom
Comment
-
Re: After ALL this time...DOS batch file is back!
Batch files remind me of the C64 Basic in some ways. As I've said before though I much prefer PASCAL. I'm actually excited either way. I haven't got to do any programming in a LONG time. I'll take what comes my way.
- Top
- Bottom
Comment
-
Re: After ALL this time...DOS batch file is back!
Originally posted by MoonRiseBatch files remind me of the C64 Basic in some ways.Code:10 PRINT CHR$(29); 20 PRINT "I ADORE MY C64! "; 30 GOTO 20 40 REM :)
- Top
- Bottom
Comment
-
Re: After ALL this time...DOS batch file is back!
Originally posted by TelengardOriginally posted by MoonRiseBatch files remind me of the C64 Basic in some ways.Code:10 PRINT CHR$(29); 20 PRINT "I ADORE MY C64! "; 30 GOTO 20 40 REM :)
- Top
- Bottom
Comment
-
Re: After ALL this time...DOS batch file is back!
My first commercial venture, incorporated as "WetWare", was to create a farm accounting package using Apple Basic. The notion that 10 unused numbers between lines was sufficient was quickly dispelled. Even 50 unused numbers wasn't enough at times. Then I found a utility that renumbered the lines in any increments want wanted. Thirty was chosen to avoid having to renumber the code. Line numbers were a royal pain..."A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
– John F. Kennedy, February 26, 1962.
- Top
- Bottom
Comment
-
Re: After ALL this time...DOS batch file is back!
Yea I remember on a little application I did that I had to renumber. Wasn't fun but oh well part of the programming pattern at the time. Knew no different. Once I go to college it was nice using "text editors" without numbering. Wasn't that difficult to drop line numbers.
- Top
- Bottom
Comment
-
Re: After ALL this time...DOS batch file is back!
Originally posted by GreyGeekThe notion that 10 unused numbers between lines was sufficient was quickly dispelled. Even 50 unused numbers wasn't enough at times.
I like to start large projects at 1000 and then increment by 10 or 100 for each line. Subroutines or conceptually separate program segments automatically start at the next increment of 1000.
In C64 BASIC you eventually run into the line number limit somewhere in the 65xxx range ( I don't think it was 65535, but maybe ). If your program is really so large then you should consider breaking conceptually separate program segments into separate programs which can be loaded on the fly. This requires some planning to decide how best to pass data from PROGRAM A to PROGRAM B.
- Top
- Bottom
Comment
Comment