> Did it really work? "*" didn't work for me: for example,
> file.copy("c:/path1/test*.*","c:/path2")
Ok, my testing wasn't foolproof. I was at home, not work so I didn't have
the other path. I modified my previous test to:
win.debug (file.listfiles("c:/windows/*.log",1))
And it seems to be working. Testing the file.copy...let's see.
C:\temp and c:\temp2 are the directories. Has two files, dictation.au3 and
dictation2.au3.
win.debug(file.listfiles("c:/temp/*.au3",1))
Reports two files. Looks good.
file.copy("c:\\temp\\*.au3","c:\\temp2\\")
That copies the files. No problem.
file.copy("c:/temp/*.au3","c:/temp2/")
Error "Cannot copy dictation: Cannot find the specified file."
Uh-oh. I wonder if this is a powerpro problem or ppro using the windows copy
routines that are balking at the / in the paths.
> > Well, preliminary testing looks like the only quirk comes with
> File/open dialogs and having commands like:
> > {to folder}c:/windows
> > ...windows apparently doesn't like it. Nothing wrong with
> powerpro ;D
>
> Try this: {to folder}file:c:/windows
> If it not work, replace "file: -> file:/// or file://"
file://c:/windows
Kinda works. At least it changes to the right path. It does something funky
with the browse part of the window for a second. If there is an existing
file name in the "Name" field, it doesn't replace it after changing the
path. Leaves the file://c:/windows in there.
Both of these I believe are windows-problems with /.
> > Icons, commands, folder listings, displays...all good. Damn,
> fileName processing magic indeed, way to go Bruce!
>
> Are the icons are really the correct ones? Not for me.
As far as I can tell...
C:/WINDOWS/system32/moricons.dll
Is putting the icon it that was there before. Now I haven't rebooted and
caused the iconcache to reload...maybe that would cause a problem in a bit.
Can't do that right now, if it does give a problem, then I'll report that
later.
David Troesch | Atlanta, GA | ICQ# 2333123
Protect your privacy rights. http://www.eff.org
Funstuff: If I save time, when do I get it back ?
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM
---------------------------------------------------------------------~->
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/