| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | re: Syntax Error with double `=` in SET = |
Hello!
You were saying...
ML> Does anybody know how to set a variable in MSDOS batch
ML> files with a double equal sign?
ML> ... I'm getting Syntax Error with the following:
ML> SET COMP=ABC=DEF
ML> in MS-DOS 6.22 because of the double "=" sign.
ML> 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. 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.
Best regards,
Marc
telnet://bbs.sursum-corda.com. >Celebrating 14 years on-line
-+- QuikEdit 2.41R+
--- Maximus/2 3.01
* Origin: Sursum Corda! BBS-Meridian, MS-bbs.sursum-corda.com (1:396/45)SEEN-BY: 10/1 11/200 201 203 331 34/999 120/228 123/500 128/2 187 140/1 222/2 SEEN-BY: 226/0 236/150 249/303 250/1 306 261/20 38 100 1404 1406 1418 266/1413 SEEN-BY: 280/1027 320/119 393/11 396/45 633/104 260 267 640/954 690/682 734 SEEN-BY: 712/0 313 848 800/432 801/161 189 2222/700 2320/100 5030/1256 @PATH: 396/45 261/38 633/260 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.