sounds easy, but what is IO Dos Commands? and where is this located and do i put this in a modual code or somewhere else? please Explain to me because i have never done this before. a step by step would be nice if your up to it with a good example. acually this would be a great tutorial you guys can post for all us can see..who doesn't know how to do this.
lee123
Mkdir,FileCopy comes under VBA library and so when you open a new project commands like them are available by default.
you can use FileSystemObject for file/folder operations-this has got more options than the IO DOS Commands-like FileExists,FolderExists,GetFileVersion,GetExtensio nName..etc.,
but to use this you have to include 'Microsoft Scripting Runtime' library to your 'Project References' and is not available by default.
its not necessary that you must use these in the module-you can use it anywhere in your project.
you can make good use of the ObjectBrowser in VB6 to know about all methods in loaded libraries.