Search found 1880 matches
- 10 Dec 2011 01:27
- Forum: DOS Batch Forum
- Topic: Batch "macros" with arguments
- Replies: 73
- Views: 122959
Re: Batch "macros" with arguments
Hey, dave! I just carefully read all the five pages of this topic and have not discovered what is the method you used to place macro parameters after the macro expansion, like in these lines: %macro.diffTimeRaw% t1 t2 base %macro.diffTimeRaw% t2 t3 base_setlocal_endlocal that you posted in this topi...
- 09 Dec 2011 20:16
- Forum: DOS Batch Forum
- Topic: Proposal to set a standard ECHO charactr to show blank lines
- Replies: 12
- Views: 13551
Re: Proposal to set a standard ECHO charactr to show blank l
I thought I had a winner...
So we must continue using ECHO( until a better character be found...
However, I still don't like ECHO(, so I'll use dbenham macro method: SET ECHO=ECHO( and then use %ECHO% instead.
So we must continue using ECHO( until a better character be found...
However, I still don't like ECHO(, so I'll use dbenham macro method: SET ECHO=ECHO( and then use %ECHO% instead.
- 08 Dec 2011 22:41
- Forum: DOS Batch Forum
- Topic: Proposal to set a standard ECHO charactr to show blank lines
- Replies: 12
- Views: 13551
Proposal to set a standard ECHO charactr to show blank lines
To display a blank line in a Batch file, or a line with the value of a variable that may be empty, we used to include certain characters in ECHO command: ECHO., ECHO/, ECHO(, etc. I think it would be a good idea to agree in a standard character that be both effective and clear for everybody, even th...
- 07 Dec 2011 20:25
- Forum: DOS Batch Forum
- Topic: Why does SET performance degrade as environment size grows?
- Replies: 33
- Views: 60095
Re: Why does SET performance degrade as environment size gro
I got a new idea on my method. The goal is to avoid the excessive data movement from one memory location to another when the SET command store a variable. Let´s suppose that after we had defined the 128 large variables named z1..z128 (as I suggested in my previous post) the program start the real pr...
- 06 Dec 2011 22:43
- Forum: DOS Batch Forum
- Topic: Why does SET performance degrade as environment size grows?
- Replies: 33
- Views: 60095
Re: Why does SET performance degrade as environment size gro
I devised an idea that may solve, at least in part, the performance problems of SET command caused by a very large environment. Let's suppose that the internal operation of SET VAR=VALUE command follow these steps: ⋅ When a new variable is defined with a value that exceed the current envir...