--- "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_)')
In this case, the filestring.txt won't be overwritten, but
appended. If you want to overwrite it, you can achieve it
using a script and file plugin and set the command
.your_script(_file_)

> Do you have any idea how to use PP to list files in any folder in the 
> same way as rjExtension proggy?
> I am pretty sure that PP can handle this job. But I don't now how to 
> solve it.  :-(

I don't know exactly what you want, but why don't you use
*Menu Folder? (It may require one more click than you expect)
Set the Left Command of an item as:
Menu.Folder(_file_)

Sean





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/
 



Reply via email to