03-23-2023, 07:39 PM
On Manjaro KDE v22.0.4 for me this produces incorrect output.
See the screenshot below. One of the PNG files is being picked up as a directory for some reason.
I was forced to change the subprogram call to this:
changed away from _CWD$ function, because using this at the command line:
showed me the list of files and subfolders of the directory that executable resides in.
I hope somebody could check this out in a different Linux distro. All I did was create four pictures with GIMP and exported them all to PNG, and I don't think there's anything special with "Downloads" when compared to the other Home members. The "four-faces..." file was the output for something I was working on when I stumbled upon this problem. It was from a QB64 program that saved to BMP, then "magick" program was used to convert to PNG.
(My user's log-in name isn't "user" and I'm not going to give it away, and I have given various names to a directory right under the Home which holds PPA's, AppImages and other such executables for Linux and Windows. This particular directory is called "bin" because it's what I came across in one of the distros. In a different Linux installation it's called "zapim". But it wasn't dominated by AppImages. It starts with "z" because I wanted it listed last in the file manager. The screenshots are supposed to have the user's log-in name in certain parts of the report from "ls" and "stat" programs.)
See the screenshot below. One of the PNG files is being picked up as a directory for some reason.
I was forced to change the subprogram call to this:
Code: (Select All)
GetFileList environ$("HOME") + "/Downloads", Dir(), File()
changed away from _CWD$ function, because using this at the command line:
Code: (Select All)
$ $HOME/bin/qbpe/getfileslistex
$ # - OR -
$ /home/user/bin/qbpe/getfileslistex
showed me the list of files and subfolders of the directory that executable resides in.
I hope somebody could check this out in a different Linux distro. All I did was create four pictures with GIMP and exported them all to PNG, and I don't think there's anything special with "Downloads" when compared to the other Home members. The "four-faces..." file was the output for something I was working on when I stumbled upon this problem. It was from a QB64 program that saved to BMP, then "magick" program was used to convert to PNG.
(My user's log-in name isn't "user" and I'm not going to give it away, and I have given various names to a directory right under the Home which holds PPA's, AppImages and other such executables for Linux and Windows. This particular directory is called "bin" because it's what I came across in one of the distros. In a different Linux installation it's called "zapim". But it wasn't dominated by AppImages. It starts with "z" because I wanted it listed last in the file manager. The screenshots are supposed to have the user's log-in name in certain parts of the report from "ls" and "stat" programs.)