Files n Folder

  • Thread starter Thread starter Sean
  • Start date Start date
S

Sean

hi,

i am relatively new to VB and would like to know whether it is possible to move files and folders using VB.

my boss has asked me about this ... i have to read two columns from an excel sheet and then pick those values and move the files in to another folder.

Just wondering whether this is possible.
 
Hi,

The directoryinfo and fileinfo classes have a moveto method.

Ken
----------------
hi,

i am relatively new to VB and would like to know whether it is possible to move files and folders using VB.

my boss has asked me about this ... i have to read two columns from an excel sheet and then pick those values and move the files in to another folder.

Just wondering whether this is possible.
 
Hello,

Sean said:
i am relatively new to VB and would like to know whether
it is possible to move files and folders using VB.

Have a look at the 'System.IO.Directory.Move' method and the
'System.IO.File.Move' method.
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top