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

M

Mike Walker

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.
 
A

Allen Browne

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