How to carry-out OS functions (rename, copy, new folder etc) in VB

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can achieve this by DoCmd.RunCode and executing a .bat file but this seems
clumsy. How can this be done from within VBA?

Thanks in advance, Mike.
 
VBA has functions for performing these operations.
See help on:
- Name
- FileCopy
- MkDir
- Kill
- GetAttr, SetAttr
- CurDir
- Dir
and so on.
 
Back
Top