vb.net - How to move all pdf files in to another directory -


i trying move pdf files in c:\ h:\

i googled , not able find sufficient answer. if know exact file name. 

        each x in new directoryinfo("c:\").getfiles("*.pdf", searchoption.topdirectoryonly)' or alldirectories             file.copy(x.fullname, path.combine("h:\", x.name), false) 'overwrite = false         next 

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -