Source language: Translate to:

List of Sub-Folders ?

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

List of Sub-Folders ?

Postby TMcD » Thu Jan 26, 2012 1:43 am

This does not give a list of folders within the folder I select.

hd = a variable that gets the main directory using FolderBox

Then I use FileList to get the sub-folder list, but it doesn't return anything. ??

Complete Code:

FolderBox "Select The Main Folder:" "[hd]"
FileList "[hd]" "Folders" "[subfolders]"

From what I've seen in the forum, this should work.

Example:

http://www.neosoftware.com/forum/viewtopic.php?t=15776&highlight=folder+list

Thanks.
TMcD
 
Posts: 237
Joined: Sun Apr 10, 2005 11:20 am

Postby dec » Thu Jan 26, 2012 3:05 am

Hi,

Try with this code:

Code: Select all
FolderBox "Select The Main Folder:" "[hd]"
FileList "[hd]\*" "Folders" "[subfolders]"


Note the "\*" added to the "[hd]" path.

And, if you like,... try my npFind plugin. ;)
Last edited by dec on Thu Jan 26, 2012 3:07 am, edited 1 time in total.
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Postby Tony Kroos » Thu Jan 26, 2012 3:07 am

Code: Select all
FolderBox "Select The Main Folder:" "[hd]"
FileList "[hd]*.*" "Folders" "[subfolders]"
Tony Kroos
 
Posts: 402
Joined: Thu Oct 15, 2009 3:43 pm

Postby TMcD » Thu Jan 26, 2012 3:01 pm

Thanks, working now. :)
TMcD
 
Posts: 237
Joined: Sun Apr 10, 2005 11:20 am


Return to NeoBook Action Commands

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron