🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2306

Changing option character from / to -

#2306
From: rwallace
Date: Thu, 20 Sep 1990 20:43
14 lines
1135 bytes
Does anyone know how to change the MS-DOS option character from / to something
else? What I want to do is to change it from / to -, so you can type DIR -W
instead of DIR /W. This will free the / character for use as a directory name
separator so you can type DIR DIRNAME/FILENAME instead of DIR DIRNAME\FILENAME
(the MS-DOS routines will accept / as well as \ but COMMAND.COM won't).

The Turbo C++ manual says it's an INT 21h call, but doesn't say which one. I
can't find it documented anywhere.

Thanks in advance.
-- 
"To summarize the summary of the summary: people are a problem"
Russell Wallace, Trinity College, Dublin
rwallace@vax1.tcd.ie
Technical Details
Message-ID: <6867.26f929ec@vax1.tcd.ie>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!tcdcs!swift.cs.tcd.ie!vax1.tcd.ie!rwallace

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!tcdcs!swift.cs.tcd.ie!vax1.tcd.ie!rwallace
From: rwallace@vax1.tcd.ie
Newsgroups: comp.os.msdos.programmer
Subject: Changing option character from / to -
Message-ID: <6867.26f929ec@vax1.tcd.ie>
Date: 20 Sep 90 20:43:24 GMT
Organization: Computer Laboratory, Trinity College Dublin
Lines: 14