<div dir="ltr"><div>Why use windows explorer at all?  Use filePro&#39;s OPENDIR command.<br><br></div>something like this:  <br><br>::dim flelst[200](120,*):<br>::declare local bksl(1,allup,g):<br>::declare local dbqt(1,allup,g):<br>
::declare local ctr1(3,.0):<br>::declare local ctr2(3,.0):<br>::declare local open_ctr(3,.0):<br>::declare local close_ctr(3,.0):<br>::declare local file_ctr(3,.0):<br>::declare global csv_name(120,*,g):<br>::declare extern dir_name:<br>
::declare extern ext_name:<br>bldfile:&#39;build the table of .CSV files in the folder::<br>::ctr1=&quot;0&quot;; ctr2=&quot;1&quot;:<br>::dbqt=chr(&quot;34&quot;):<br>::open_ctr=opendir(&quot;*&quot;{ext_name{&quot;&quot;,dir_name):<br>
zloop:::<br>:ctr2 gt open_ctr:goto donez:<br>::ctr1=ctr1+&quot;1&quot;:<br>::flelst[ctr1]=@dirlist_name[ctr1]{&quot;.&quot;{@dirlist_ext[ctr1]:<br>nextz:::<br>::ctr2=ctr2+&quot;1&quot;:<br>::goto zloop:<br>donez:::<br>::file_ctr=listbox(flelst,&quot;1&quot;,ctr1):<br>
:file_ctr le &quot;0&quot;:end:<br>::csv_name=flelst[file_ctr]:<br>::close_ctr=closedir():<br>::end:<br><br>I pass the directory name and extension type from the calling routine, but you should be able to manipulate this to what you need.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 22, 2013 at 8:52 AM, Richard Tartaglia <span dir="ltr">&lt;<a href="mailto:fp_rich@yahoo.com" target="_blank">fp_rich@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good morning everyone.<br>
 <br>
Windows XP pro, FilePro 5.0.15<br>
 <br>
I would like to use a system command to open explorer, pick a file and place it in a filepro variable. <br>
 <br>
Any suggestions would be greatly appreciated.<br>
 <br>
Thanks<br>
 <br>
Rich   <br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20131122/ce0b62d2/attachment.html" target="_blank">http://mailman.celestial.com/pipermail/filepro-list/attachments/20131122/ce0b62d2/attachment.html</a><br>

_______________________________________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>
Subscribe/Unsubscribe/Subscription Changes<br>
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
</blockquote></div><br></div>