but i cannot understand where the confusion lies.
The |CD command on a file should not work and is a little bit surprised that it should have thrown up an error.
It is possible that the |CD command may have matched against one of the directories and hence the |CAT showed its contents.
The behavior of the code is changed.
With an older beta it works, that you can |CD to a Directory and the path is printed above the Content, you make |CD to an other Directory, and the other part is printed too (OK).
Now you make a |CD against a DSK-File and after that a "cat", so you can see the Directory of the DSK-File (and can start a BAS,BIN,... file from the DSK) (Great function!!!, OK in both beta's).
The Problem is, that the M4-CPU from the WIFI thinks, that is the original path, where the DSK-FIle is put. In the 06.11.16-Beta, the M4-CPU says that the actual path is the DSK-File.
So with the last beta the path is equal: "Directory with the DSK-File" = "Directory of the DSK-File", which is wrong and big problems begin, when you write Software for the M4-DOS....