Source language: Translate to:

Folder FileList

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

Moderator: Neosoft Support

Folder FileList

Postby Leos » Mon Dec 02, 2013 11:39 am

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/0B80lJ86X-zVeMWZHdU5NbUdsOGs/edit?usp=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/0B80lJ86X-zVeMWZHdU5NbUdsOGs/edit?usp=sharing
User avatar
Leos
 
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal

Re: Folder FileList

Postby dpayer » Mon Dec 02, 2013 11:54 am

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

https://drive.google.com/file/d/0B80lJ86X-zVeMWZHdU5NbUdsOGs/edit?usp=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
dpayer
 
Posts: 1380
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Re: Folder FileList

Postby Leos » Mon Dec 02, 2013 12:07 pm

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
Leos
 
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal

Re: Folder FileList

Postby dpayer » Mon Dec 02, 2013 12:42 pm

Leos:

Look at a project I posted here: http://www.neosoftware.com/community/vi ... hp?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
dpayer
 
Posts: 1380
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Re: Folder FileList

Postby Leos » Wed Dec 11, 2013 9:43 am

Hi, David
Nice and usefull code.
Thank you
User avatar
Leos
 
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal


Return to NeoBook Knowledgebase

Who is online

Users browsing this forum: No registered users and 2 guests

cron