Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!rover!glennm From: glennm@rover.enet.dec.com (Glenn Meyer) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: Reversing the backslash ( \ to / ) Message-ID: <1991Apr21.165352.13146@pa.dec.com> Date: 21 Apr 91 16:53:52 GMT References: <1991Apr15.220227.14593@isc.rit.edu> <1786@TALOS.UUCP> <1991Apr11.012821.3643@zeus.mgmt.purdue.edu> <1991Apr11.203022.5407@ux1.cts.eiu.edu> Sender: news@pa.dec.com (News) Reply-To: glennm@rover.enet.dec.com (Glenn Meyer) Distribution: na Organization: Digital Equipment Corporation Lines: 24 .> >In article <1991Apr11.012821.3643@zeus.mgmt.purdue.edu> landers@zeus.mgmt.purdue.edu (Christopher Landers) writes: > >>In article <1786@TALOS.UUCP> jerry@TALOS.UUCP (Jerry Gitomer) writes: > >>>undrground!seanp@amix.commodore.com (Sean Petty) writes: > >>>| All day at work I find myself typing things in at work using the > >>>| "real" backslash ( /etc/passwd, /usr/spool, etc.)... Then I come > >>>| home and have to type in filenames seperated by the out-of-the-way > >>>| psuedo-slash (\)... > >> > > > > There is an undocumented DOS function to change the backslash directory > >seperator to the slash: > > switchchar - Be careful about changing the switch character. Some utilities and applications, and Windows 3.0, don't recognize the change in switch character, and still expect '\' when they prompt you for pathnames, and expect '/' in command-line switches. If you don't believe that, try something like xcopy a:/somedir c:/otherdir -s -e after you've change the switch character to '-'