Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!rutgers!rochester!pt.cs.cmu.edu!ralf From: ralf+@cs.cmu.edu (Ralf Brown) Newsgroups: comp.os.msdos.programmer Subject: Re: Building a better DOS revisisted (getting close to UNIX) Message-ID: <13597@pt.cs.cmu.edu> Date: 24 Jun 91 01:55:09 GMT References: <0094A761.C2F6D640@MAPLE.CIRCA.UFL.EDU> Organization: School of Computer Science, Carnegie Mellon Lines: 20 In article pshuang@athena.mit.edu (Ping-Shun Huang) writes: }intercept the DOS service which returns the current working directory (I }don't know which one it is off the top of my head) and return a modified }string [with forward slashes] instead, [...] }the path returned thereafter (e.g. programs which switch the default }directory while in operation, but are polite enough to save the }directory you were in when you started it up) will break, because when }they pass the path with forward slashes back to DOS, DOS will puke. No it won't, because DOS has always accepted either forward or backslashes in pathnames. It converts them to backslashes internally, but accepts either, just like it accepts filenames in either upper or lowercase. -- {backbone}!cs.cmu.edu!ralf ARPA: RALF@CS.CMU.EDU FIDO: Ralf Brown 1:129/53 BITnet: RALF%CS.CMU.EDU@CARNEGIE AT&Tnet: (412)268-3053 (school) FAX: ask DISCLAIMER? Did | It isn't what we don't know that gives us trouble, it's I claim something?| what we know that ain't so. --Will Rogers