TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: DAVE NAVARRO
from: BOB SEWELL
date: 1995-05-30 23:40:00
subject: CHDRIVE

    Bug report:  CHDRIVE statement, when called with a drive letter
 which does not physically exist, will not report any error (much
 less a run-time error 76 (Path Not Found) as advertised in the PB
 3.0 reference manual, page 79) is that letter falls within the
 range of the CONFIG.SYS's LASTDRIVE=x statement.
    In other words, if I have LASTDRIVE=G in CONFIG.SYS, but I only
 have physical and/or logical drives that letter up to E:, and I
 issue a CHDRIVE "G:" statement, I do not receive an error.  The
 program just skips merrily along its way, thinking that it's now
 logged onto drive G:, when it's really still logged onto the same
 drive it was on before the command.
    If I use a drive letter beyond the LASTDRIVE= limit, such as
 CHDRIVE "H:" I receive error 5, Illegal Function Call.
... "Oh, bother!" said Pooh, as he shot Piglet.
--- PPoint 1.86
---------------
* Origin: Seven Wells On-Line * Nashville, TN (1:116/3000.12)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.