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.
 
Back
Top