Page 1 of 1

files() and folders()

Posted: Tue Feb 02, 2016 4:49 pm
by MaxV
At the present files() and folders() functions require to move the default folder.
This create me some problems, because I can't use at the same time many operation on different folders.
I wish that in the future I can use this form:

put files("/home/max")

this way I don't need to change the default folder, risking to create a mess. :mrgreen:

Re: files() and folders()

Posted: Tue Feb 02, 2016 5:08 pm
by dunbarx
Max.
require to move the default folder.
Can you explain what you mean? Each of these functions returns a list of files or folders in the default folder. What is "moving"?

Craig Newman

Re: files() and folders()

Posted: Tue Feb 02, 2016 5:11 pm
by Klaus
Hi Max,

yes, makes a lot of sense, please post a feature request here: http://quality.runrev.com
The time is right for this, they are currently HIGHLY active to make LC 8 the best LC EVER! :D

And maybe also propose to create something like: detailedFileInfo(path/to/file)
Which otherwise needs to be extracted from the "long files", which has the same overhead like above.
Know what I mean?


Best

Klaus

Re: files() and folders()

Posted: Tue Feb 02, 2016 5:12 pm
by Klaus
Hi Craig,

with "moving", Max means to CHANGE the defaultfolder! 8)


Best

Klaus

Re: files() and folders()

Posted: Tue Feb 02, 2016 6:56 pm
by dunbarx
Ah.

To specify (change) the defaultFolder before one can access the files desired inside that folder.

Craig