delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
From: | sandmann AT clio DOT rice DOT edu (Charles Sandmann) |
Message-Id: | <10112271530.AA17030@clio.rice.edu> |
Subject: | UNC examples |
To: | eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) |
Date: | Thu, 27 Dec 2001 09:30:05 -0600 (CST) |
Cc: | tim DOT van DOT holder AT pandora DOT be (Tim Van Holder), djgpp-workers AT delorie DOT com |
In-Reply-To: | <Pine.SUN.3.91.1011227163814.21698B@is> from "Eli Zaretskii" at Dec 27, 2001 04:49:26 PM |
X-Mailer: | ELM [version 2.5 PL2] |
Mime-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Here's some examples of semi-unc support: C:\>ls \\cws333\d$\djgpp c:/djgpp/bin/ls: //cws333/d$/djgpp: No such file or directory (ENOENT) C:\>ls \\cws333\d$\djgpp\*.* c:/djgpp/bin/ls: //cws333/d$/djgpp/CWSDPMI.EXE: No such file or directory (ENOEN T) c:/djgpp/bin/ls: //cws333/d$/djgpp/DJGPP_SBRK_PROPOSAL.xls: No such file or dire ctory (ENOENT) c:/djgpp/bin/ls: //cws333/d$/djgpp/DJGPP_SBRK_PROPOSAL2.xls: No such file or dir ectory (ENOENT) c:/djgpp/bin/ls: //cws333/d$/djgpp/SETUP.BAT: No such file or directory (ENOENT) c:/djgpp/bin/ls: //cws333/d$/djgpp/pmode13b.zip: No such file or directory (ENOE NT) C:\>cat \\cws333\d$\djgpp\setup.bat if "%1" == "" set djdrv=%~d0 if NOT "%1" == "" set djdrv=%1 set path=%djdrv%\djgpp\bin;%path% set DJGPP=%djdrv%/djgpp/djgpp.env set djdrv= So, the glob routines can see the files, but ls can't stat them. Cat can open the file. So we're not that far away.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |