Old 11th February 2008, 15:06   #1
mattia83
Junior Member
 
Join Date: Feb 2008
Posts: 20
read directory in

Hi,
is it possible to read all sub-directories housed in a directory?
For example, i like to read all the directories housed into C:\mainDir\

thx
mattia83 is offline   Reply With Quote
Old 11th February 2008, 15:12   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
To include files in installer, use:
File /r directory\*.*

To search folders at runtime:
FindFirst/FindNext/FindClose

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 12th February 2008, 06:32   #3
mattia83
Junior Member
 
Join Date: Feb 2008
Posts: 20
thanks so much.
mattia83 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump