Hi guys,
I don't have any solution to the problem but while on the topic of FreeCOM
and batch file parameters, I have discovered an issue which I believe is a
genuine bug.
Create a batch file, for example:
ECHO %1 %2 %3 %4 %5 %6 %7 %8 %9
Then run it with a parameter like "http://www.example.c
I don't have any solution to the problem but while on the topic of FreeCOM
and batch file parameters, I have discovered an issue which I believe is a
genuine bug.
Create a batch file, for example:
ECHO %1 %2 %3 %4 %5 %6 %7 %8 %9
Then run it with a parameter like "http://www.example.com/";. I
To add my 2 cents regarding link files...
For stuff like DJGPP which has many tools, it is probably
a good idea to make a SEPARATE directory for installing DJGPP
and add that to the PATH :-) As NASM only includes a few files,
it can indeed be in the generic FreeDOS bin directory anyway.
Cheers, E
> Thank you for sharing your insight. It clearly looks like I will have to
> figure out an alternative approach to my batch files.
> Context: Such batch files are created by FDNPKG, my FreeDOS package
> manager, as "links" to some commonly used applications like zip, upx,
> nasm, etc, to avoid h
Hi Bret,
Thank you for sharing your insight. It clearly looks like I will have to
figure out an alternative approach to my batch files.
Context: Such batch files are created by FDNPKG, my FreeDOS package
manager, as "links" to some commonly used applications like zip, upx,
nasm, etc, to avoid
On Mon, 28 Nov 2016 17:58:14 -0600, Rugxulo wrote:
> Maybe put double quotes " " around args when invoking the .BAT?
This doesn't change anything regarding how the equal characters are
processed. Worse even, the callee ends up being called with too many
arguments each time, since each "" argumen
The equals sign is "special" when the DOS shell is processing values from the
command line, and different versions of DOS may treat it differently. For
example, in the FOR command it is basically treated as white space (the same as
commas and real spaces). At least in some versions of DOS, the
Hi,
On Mon, Nov 28, 2016 at 9:15 AM, Mateusz Viste wrote:
>
> Question is... is there any way to use "%1"-like arguments in a way that
> would preserve possible '=' characters inside?
Maybe put double quotes " " around args when invoking the .BAT? (Or
use a superior shell like 4DOS.)
--
Hi Tom,
Thanks for your test - it shows that Microsoft is at least consistent
with this behaviour, as odd as it is :)
You got the same result as me on MS-DOS 6.0, ie "DOS processes the =
character like a white space when found inside a %1, %2, %3 etc argument
inside a batch file".
FreeDOS (Fr
Mateusz,
after 30 years, new insights into DOS batch processing.
on first sight, it seems to me that '=' is simply skipped by the
command interpreter.
testing on Windows XP (which is usually a supergroup of MSDOS)
C:>echo >test.bat echo '%1' '%2' '%3' '%4'
C:>test.bat /x=1 y=2
C:>echo '/x' '1'
Hi group,
This message can be considered both as a minor bug report and a question.
Here's an introduction to what I tested:
I wrote a trivial program that I called getargs, it simply prints out the
argv list:
#include
int main(int argc, char **argv) {
int i;
printf("got %d args:
11 matches
Mail list logo