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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -