home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!channel1![rick.sheridan@channel1.com]
- From: "rick sheridan" <rick.sheridan@channel1.com>
- Newsgroups: gnu.emacs.help
- Subject: convert dos filename
- Message-ID: <199223.1277.2586@channel1>
- Date: 23 Aug 92 21:19:28 EST
- Reply-To: "rick sheridan" <rick.sheridan@channel1.com>
- Distribution: gnu
- Organization: Channel 1 Communications
- Lines: 28
-
- I'm using Demacs and am looking for a short elisp routine that will
- convert a DOS filename from the form
-
- c:\program\test\pgm1.cpp
-
- to the form
-
- c:/program/test/pgm1.cpp
-
- In other words, replace `\' with `/'. This is probably pretty simple
- but I'm learning elisp as I'm trying to modify the .el file. I have the
- routine to grab the filename, but must convert it before returning it to
- the calling function.
-
- I can't do ftp so can't look in any standard elisp archives.
-
- TIA
-
- --Rick.
- -----------------------------------------------------------------------
- This would be a standard disclaimer if there were anything to disclaim.
- Rick.Sheridan@channel1.com Entered Aug 23,92 at 20:05:23
- -----------------------------------------------------------------------
- ---
- ■ PMDBM DEMO V1.5ß #0 ■ Evaluation Copy
- --
- Channel 1 (R) Cambridge, MA
-
-