Folder FileList

NeoBook tips, tricks, code samples and more...

Moderator: Neosoft Support

Locked
User avatar
Leos
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal
Contact:

Folder FileList

Post by Leos »

I wrote this little program because all the other solutions presented have some kind of problem.

The program makes the list of files and / or folders and subfolders.
Use the DIR command:
I had to program a bit, because the same DIR command displays some problems.
ex: Dir M:\test\test\* jpg /s.
does not work correctly.

Is not yet complete.
Obviously, there can be used, with some modifications, as a function of NeoBook.

https://drive.google.com/file/d/0B80lJ8 ... sp=sharing

-------- // -----------
Escrevi este pequeno programa porque todas as outras soluções apresentadas têm algum tipo de problema.

O programa faz a listagem de ficheiros e/ou pastas e subpastas.
Usa o comando DIR:
Tive que programar um pouco, porque o mesmo comando DIR apresenta alguns problemas.
ex: Dir M:\test\test\* jpg /s
não funciona correctamente.

Ainda não está completo.
Obviamente, pode ser usado, com algumas modificações, como uma função de neobook.

https://drive.google.com/file/d/0B80lJ8 ... sp=sharing
User avatar
dpayer
Posts: 1394
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Re: Folder FileList

Post by dpayer »

Leos wrote:I wrote this little program because all the other solutions presented have some kind of problem.

https://drive.google.com/file/d/0B80lJ8 ... sp=sharing

Nice.

I did download and run the app. You may want to be aware there is a setvar command in a subroutine "escreve listagem" that has no parameters (small issue). I hit it when requesting a list of .jpg files.

Also, you may want to reference your functions when distributing pubs as well. For example, I can imagine what the function named "sound_OK" does but since I don't have it on my system, I wouldn't hear anything.

Thanks for sharing your work!

David P.
David Payer
Des Moines, Iowa
USA
User avatar
Leos
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal
Contact:

Re: Folder FileList

Post by Leos »

Hi, David

"sound_ok" - forgot this detail :oops:

The program is not yet complete.
This error described has to do with the routine I'm trying to write for automatic listing of a folder.
(at this point if you open an image with this program, it automatically writes the listing of images in that folder)
What I need is something like to get the "shellmenu" of a folder (click with the right mouse button).

Thank you for your feedback.
So I can, I will update.
User avatar
dpayer
Posts: 1394
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Re: Folder FileList

Post by dpayer »

Leos:

Look at a project I posted here: viewtopic.php?t=19558

It may have some ideas you can use. I have posted the adapted VBScript functions I made to give some file and folder tools. I then created a File Explorer to use all these functions.

Hope it is helpful!

David P.
David Payer
Des Moines, Iowa
USA
User avatar
Leos
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal
Contact:

Re: Folder FileList

Post by Leos »

Hi, David
Nice and usefull code.
Thank you
Locked