Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site digi-g.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!stolaf!umn-cs!digi-g!dan
From: dan@digi-g.UUCP (Dan Messinger)
Newsgroups: net.micro.pc
Subject: Re: switchar solution for 3.X
Message-ID: <670@digi-g.UUCP>
Date: Wed, 26-Jun-85 13:23:52 EDT
Article-I.D.: digi-g.670
Posted: Wed Jun 26 13:23:52 1985
Date-Received: Sat, 29-Jun-85 04:40:24 EDT
References: <692@vortex.UUCP>
Reply-To: dan@digi-g.UUCP (dan)
Organization: Digigraphic Systems Corp., Mpls, MN
Lines: 21
Summary: 

In article <692@vortex.UUCP> lauren@vortex.UUCP (Lauren Weinstein) writes:
>Under 2.X, full pathnames as shown by DIR, etc. will have all
>\'s changed to /'s when you change the switchar.  With 3.X,
>the DIR command will show some as \ and some as /, but it's only
>a cosmetic problem.  Under both 2.X and 3.X, the file operation system
>calls all accept either \ or / as the path separator, regardless of
>switchar.

Not quite true.  Under 2.x, the path shown is how you enter it, so the
current path could have both / and \ in it.  Under 3.x, a / will be changed
to \, so the current path will only contain \.  With both, either a /
or a \ may be entered to command.com (with switchar set to something else,
like a -, of course).  Under both, system calls can have either / or \
whether or not switchar has been set.  *WARNING*.  Under 2.x, if you
have switchar=-, the RESTORE has problems.  If you run BACKUP with switchar=-,
BACKUP will build path names with /, but RESTORE doesn't check the state
of switchar, and thus expects \!  The end result is that you can't restore
your files!  BACKUP under 3.x always uses \, so there is no problem.

Dan Messinger
ihnp4!umn-cs!digi-g!dan