Re: Help please with code to find and move files.



En Mon, 31 Dec 2007 05:09:37 -0200, <inFocus@xxxxxx> escribió:

I am sorry if I was not clear in what I was trying to achieve. All I
wanted was simple way to achieve what windows does when you use search
for Files or Folders, and all the files that mach two words like foo
and bar in the file name to be moved or copied to a specified folder,
duplicates should not be copied just skipped.

I think John Machim comments addressed most -if not all- your potential problems. You should be able to modify your script to met your goals; just do it one step at a time. Omit the actual file copy at first, just print what you would do. See what happens, fix the iteration if needed, once you print the right set of files try to actually copy them.

--
Gabriel Genellina

.



Relevant Pages

  • Re: Option compact all folders fails and loses contents of folder
    ... > I've used 'compact all folders' many times without incident. ... Turn off email scanning in your antivirus software. ... Windows 2000 and Windows XP. ... Windows XP Service Pack 2 Resources for IT Professionals ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Contents disappeared in most OE 6 folders
    ... Now the contents of most, but not all, of my folders are gone, ... Turn off email scanning in your antivirus software. ... Windows 2000 and Windows XP. ... Windows XP Service Pack 2 Resources for IT Professionals ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Inbox empty!!
    ... > personal folders are GONE - and the ones that OE left have nothing in them ... Turn off email scanning in your antivirus software. ... Windows 2000 and Windows XP. ... Windows XP Service Pack 2 Resources for IT Professionals ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: OE6 Inbox Folders Wont Display
    ... > my folders are not displayed when I use OE. ... Cannot Open E-Mail Attachments in Outlook Express After You Install SP1 ... Turn off email scanning in your antivirus software. ... Windows 2000 and Windows XP. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Offline Files and Folders - MADNESS!
    ... I am having two issues with Offline Files and Folders. ... The workstation is a Windows XP SP2 notebook which is not a domain member. ... of the mapped drives connect to shares on the domain controller. ...
    (microsoft.public.windowsxp.general)