|
Post by mueh on Sept 23, 2023 7:19:02 GMT -5
Hi George ! An error which occures in all versions . Primary cmd "CMD" gives error msg "Error issuing command Path/file access error" when issued in CLIP SET EFT session . The cmd shell is started sucessfully . Code uses FPath . I think it's not addressed correctly .
METHOD pCmdCMD(pCmd AS STRING)
IF IsFMTab OR IsSetEdit OR IsClip OR IsEFTEdit THEN ' In FM or special Tab?
newPath = FPath ' Use the default Fm directory
ELSE '
newPath = IIF$(ISNULL(FCB.Path), CURDIR$, FCB.Path) ' Setup something
END IF '
IF MID$(lclPath, 2, 1) = ":" THEN lclDrive = LEFT$(lclPath, 2) ' Extract Drive if present
IF MID$(NewPath, 2, 1) = ":" THEN CHDRIVE LEFT$(NewPath, 2) ' If NewPath has drive change to it
CHDIR NewPath ' Switch to New path
Thanks
|
|
|
Post by George on Sept 23, 2023 9:33:10 GMT -5
MUEH: Yes FPath is no longer the correct Path source for those tabs. Corrected
In the next Beta.
George
|
|