FileSwitch$..$CSD
Jon Abbott (1421) 2651 posts |
The environment variable FileSwitch$ <FileSwitch$CurrentFilingSystem> $CSD isn’t set at boot. DIR @ will set it, but given it’s not set at boot can it be relied upon to be correct at all other times? EDIT: I forgot to add that I’m using it to workaround the fact Back can error if the previous Dir changed filesystems.
Essentially use StoreCSD before a Dir followed by RestoreCSD instead of Back to go back to the original directory. EDIT: I’ve spotted another quirk with is related to this. After a fresh boot, OS_GBPB 6 returns “Unset” despite *. definitely showing the CSD is the root of the boot drive. |
Bryan (8467) 468 posts |
post deleted |