🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #687

Re: 2 simple HPFS questions

#687
From: Mark Alexander
Date: Mon, 13 Apr 1992 17:36
19 lines
1286 bytes
Just to clarify on the "slash" issue: the OS/2 file systems (both DOS
and HPFS) allow you to to use either the forward or backward slash in
pathnames.  So you can do this in your program:

	DosOpen("/usr/include/stdio.h",...)

However, the standard command shell and other programs provided with
OS/2 treat the forward slash as a switch character, preventing you
from using it in pathnames.  But you can use the forward slash in
pathname parameters to other programs that allow it, such as editors
and compilers.

This also applies to DOS, except that in some old versions of DOS,
you could also change the switch character (to '-', for example).

The workaround is to buy an alternate shell (typically a clone of
the unix sh, csh, or ksh).  This allows you to use the beloved
forward slash (and makes it twice as hard to use the backslash).
Technical Details
Message-ID: <1992Apr13.173609.280@borland.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!csus.edu!borland.com!alexande
References: <1992Apr12.015629.10185@jarvis.csri.toronto.edu> <1992Apr13.011559.21726@uwm.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!csus.edu!borland.com!alexande
From: alexande@borland.com (Mark Alexander)
Subject: Re: 2 simple HPFS questions
Message-ID: <1992Apr13.173609.280@borland.com>
Organization: Borland International
References: <1992Apr12.015629.10185@jarvis.csri.toronto.edu> <1992Apr13.011559.21726@uwm.edu>
Distribution: na
Date: Mon, 13 Apr 1992 17:36:09 GMT
Lines: 19