--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote: > > --- "sboonyak" <[EMAIL PROTECTED]> wrote: > > > > > > Set the following as the (left) command (all in 1 line): > > > do(?"%comspec%",?"/c dir /a /b /-p /o:gen > C:/filelisting.txt", > > > ?"|","hide") > > > > > Thank for your reply. You are right. I can run the Dos command as you > > suggested. > > > > But I got another problem. The files was listed just only the folder > that I > > put the script in it. > > How can I get a file list in the folder that I select from context > folder. > > > > It was meant to be used in ContextFolder... Just set the > above as the Left Command of an item of the 'ContextFolder' > command list. Or you may use instead > File.AllFiles(_file_,?'Exec.ToFile(?"C:/filelisting.txt", > _file_)')
I forgot to mention. If you want just the name.ext, replace the last '_file_' with 'File.NameType(_file_)', without the single quotes of course. Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
