display directory file list (without extension) in boxtext

Started by kevindawe, August 20, 2013, 05:11:31 AM

Previous topic - Next topic

kevindawe

Hi All,

I'm trying to display a vertical list of files in a message box and i'm undecided which would be the best method. I get the file list by askitemlist as an unsorted list but from there I am unsure as to how to output this to as box text verticaly.

Any suggestions would be gratefully appreciated.

Deana

I am not sure exactly what you mean when you say 'vertically'. Are you simply asking to display each file on its own line in the Message(title,text) function?

Is this what you are looking for:

Code (winbatch) Select
list = StrCat("Red",@TAB,"Blue",@TAB,"Yellow",@TAB,"Green")
tabdelimlist = AskItemlist("Colors", list, @TAB, @UNSORTED, @MULTIPLE, @FALSE)
lfdelimlist = StrReplace( tabdelimlist, @TAB, @LF )
Message("The item selected is", lfdelimlist)
Exit
Deana F.
Technical Support
Wilson WindowWare Inc.