Can Access create a new folder in windows?

  • Thread starter Thread starter geeves1293
  • Start date Start date
G

geeves1293

Hi all,

Can Access create a new folder in windows?

Thanks

Geeves1293
 
Geeves,

In VBA you can use this method:

MkDir "C:\YourNewFolder"
 
Hi Geeves,

Sure, just use something like this to create a folder named MyNewDir that is
child to your current folder:

MkDir CurrentProject.Path & "\MyNewDir"

You can download a working example from here:
http://www.seattleaccess.org/downloads.htm

See the download for October 2006, "Compilation of Tools". The example can
be found in the ProcError section of the RearrangePFA function, in the
basRearrange module.


Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
http://www.access.qbuilt.com/html/expert_contributors.html
__________________________________________
 

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