Does anybody know how to set a variable in MSDOS batch
files with a double equal sign?
... I'm getting Syntax Error with the following:
SET COMP=ABC=DEF
in MS-DOS 6.22 because of the double "=" sign.
Is there a way to escape the "=" sign?
I have not found any escape character that will permit command.com~~~~~~~~
to recognise an equal sign in the set variable.
I have not found any escape character that will permit command.com to recognise an equal sign in the set variable. It's
simply a shortcoming of the command interpreter. You
can however do precisely what you want under 4DOS (and
probably NDOS or DRDOS as well.) (Works for me.) I
have the FreeWare versions 7.50 and 8.0 under my file
area 1.GEN on the BBS or on the FTP server in
/public/gen1. File names are as you would expect. All
are virus free and spy-ware free. Give it a shot and
see if that helps you out.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,042 |
Nodes: | 15 (0 / 15) |
Uptime: | 143:40:36 |
Calls: | 500,263 |
Calls today: | 1 |
Files: | 95,201 |
D/L today: |
102 files (65,479K bytes) |
Messages: | 464,614 |