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)
|