Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / April 2005

Tip: Looking for answers? Try searching our database.

Creating a directory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Charles Tam - 19 Apr 2005 20:51 GMT
How do I create a new directory for a file?
'69 Camaro - 19 Apr 2005 21:14 GMT
Hi, Charles.

> How do I create a new directory for a file?

Use the MkDir command.  Example syntax:

   MkDir "C:\Test"

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)
Beware to those who use munged addresses:  known newsgroup E-mail harvesters
for spammers are Ripley@CASInternet.Net and scott@ripleysoftware.com

- - -
When you see correct answers to your question posted in Microsoft's Online
Community, please sign in to the Community and mark these posts as "Answers,"
so that all may benefit by filtering on "Answered questions" and quickly
finding the right answers to similar questions.  Remember that the first and
best answers are often given to those who have a history of rewarding the
contributors who have taken the time to answer questions correctly.

> How do I create a new directory for a file?
Charles Tam - 20 Apr 2005 10:54 GMT
From MS Access code, how do I create a new directory?

> Hi, Charles.
>
[quoted text clipped - 25 lines]
>
> > How do I create a new directory for a file?
Nikos Yannacopoulos - 20 Apr 2005 11:53 GMT
Charles,

MkDir "C:\New Directory"

HTH,
Nikos

> From MS Access code, how do I create a new directory?
>
[quoted text clipped - 27 lines]
>>
>>>How do I create a new directory for a file?
'69 Camaro - 20 Apr 2005 13:37 GMT
Hi, Charles.

> From MS Access code, how do I create a new directory?

Say you have a directory on your C:\ drive named Sales and wanted to add a
new directory named Data in this directory.  The VBA command would be:

   MkDir "C:\Sales\Data"

Copy this line of code into a procedure in your VBA module and replace the
"C:\Sales\Data" string with the complete path of the new directory you desire
on your computer.  Save the module, compile the code and run it.

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)
Beware to those who use munged addresses:  known newsgroup E-mail harvesters
for spammers are Ripley@CASInternet.Net and scott@ripleysoftware.com

- - -
When you see correct answers to your question posted in Microsoft's Online
Community, please sign in to the Community and mark these posts as "Answers,"
so that all may benefit by filtering on "Answered questions" and quickly
finding the right answers to similar questions.  Remember that the first and
best answers are often given to those who have a history of rewarding the
contributors who have taken the time to answer questions correctly.

> From MS Access code, how do I create a new directory?
>
[quoted text clipped - 27 lines]
> >
> > > How do I create a new directory for a file?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.