Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!usenet.kornet.nm.kr!usenet.etri.re.kr!news.kreonet.re.kr!usenet.seri.re.kr!news.cais.net!bofh.dot!news.mathworks.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.unix.misc,comp.unix.bsd.misc Subject: Re: How to delete files within C programs Followup-To: comp.unix.misc,comp.unix.bsd.misc Date: 15 May 1996 14:04:06 +0100 Organization: Coverform Ltd. Lines: 36 Message-ID: <4ncko6$10r@anorak.coverform.lan> References: <Oum-El-Kheir.Benkahla-3004961724540001@mac-ugm-3.imag.fr> <3193FB5E.33FF33BA@lambert.org> X-NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] Xref: euryale.cc.adfa.oz.au comp.unix.misc:22810 comp.unix.bsd.misc:1067 Terry Lambert (terry@lambert.org) wrote: : J Wunsch wrote: : ] : ] kaleb@x.org (Kaleb KEITHLEY) wrote: : ] : ] > Not to be supportive of MS-DOS, but you're mistaken about : ] > the pathname separator. At the system call level DOS allows : ] > the use of either '/' or '\' as path separators. It's only : ] > the shells, COMMAND.COM in DOS and CMD.EXE in NT that require : ] > you to use '\'. : ] : ] I know. :) In DR-DOS, you could even change the ``switch character'' : ] to `-', and then command.com was able to use slashes as pathname : ] separators as well. : DOS 2.11 allowed "switchchar=-" in the config.sys. : In susbsequent versions of DOS, ther is an undocumented INT 21 : call which will set the switch character (documented in most : "undocumented DOS" type books worthy of the name). : If you set it away from '/', then '/' becomes usable as a path : seperator. Yeah, but all this was broken around about version 4 (like most things). : Regards, : Terry Lambert : terry@lambert.org : --- : Any opinions in this posting are my own and not those of my present : or previous employers. -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....