'move a set of files' but how can I move .files?

Discussion in 'Scripting' started by Ingo Nordelius, Aug 26, 2005.

  1. Hello,

    following code moves *.txt files:

    Set objFSO = CreateObject("Scripting.FileSystemObject")
    objFSO.MoveFile "C:\FSO\*.txt" , "D:\Archive\"
    erm, sorry but how must I write it down when I want to move files starting
    with a dot e.g.: .*.txt?

    Just putting the dot at the beginning? :)

    Ingo Nordelius, Aug 26, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.