Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!glacier!well!few From: few@well.UUCP Newsgroups: net.micro Subject: Re: Changing SWITCHAR in dos 3.x Message-ID: <1163@well.UUCP> Date: Wed, 28-May-86 01:33:54 EDT Article-I.D.: well.1163 Posted: Wed May 28 01:33:54 1986 Date-Received: Fri, 30-May-86 05:20:29 EDT References: <883@brl-smoke.ARPA> Reply-To: few@well.UUCP (Frank Whaley) Organization: Whole Earth Lectronic Link, Sausalito CA Lines: 35 In article <883@brl-smoke.ARPA> bridger@RAND-UNIX.arpa writes: >The MS-DOS COMMAND.COM shell uses the forward slash '/' >as its SWITCHAR to designate command-line parameters. >In dos versions 2.x the following line could be added >to the CONFIG.SYS file to change that character to a '-', >allowing the '/' to be used as a separator for directory >names in a path: > SWITCHAR=- >This doesn't work for dos 3.1. Is there another way to do it? I've posted this program a couple of times, but never this way before. Save the following as SW.BAT: ----- goto END e 100 F6 06 80 00 FF 74 09 8A 16 82 00 B8 01 37 CD 21 e 110 B8 00 37 CD 21 88 16 30 01 BA 22 01 B4 09 CD 21 e 120 CD 20 53 77 69 74 63 68 20 63 68 61 72 20 3D 20 e 130 00 0D 0A 24 rcx 34 n switch.com w q :END debug