+ Reply to Thread
Results 1 to 4 of 4

Create / Delete folder

  1. #1
    Registered User
    Join Date
    11-14-2005
    Posts
    37

    Create / Delete folder

    Hi!

    Is it possible to create from an excel macro a folder "D:\Temp\" and after some actions to delete it??

    Thanks in advance,
    Chris

  2. #2
    Bob Phillips
    Guest

    Re: Create / Delete folder

    MkDir "D:\Temp"
    ....
    Kill "D:\Temp"
    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "loopoo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi!
    >
    > Is it possible to create from an excel macro a folder "D:\Temp\" and
    > after some actions to delete it??
    >
    > Thanks in advance,
    > Chris
    >
    >
    > --
    > loopoo
    > ------------------------------------------------------------------------
    > loopoo's Profile:

    http://www.excelforum.com/member.php...o&userid=28792
    > View this thread: http://www.excelforum.com/showthread...hreadid=491047
    >




  3. #3
    chijanzen
    Guest

    RE: Create / Delete folder

    loopoo:

    'create folder
    MkDir "D:\Temp"

    'delete folder
    RmDir "D:\Temp"

    --
    天行健,君*以自強不息
    地勢坤,君*以厚德載物

    http://www.vba.com.tw/plog/


    "loopoo" wrote:

    >
    > Hi!
    >
    > Is it possible to create from an excel macro a folder "D:\Temp\" and
    > after some actions to delete it??
    >
    > Thanks in advance,
    > Chris
    >
    >
    > --
    > loopoo
    > ------------------------------------------------------------------------
    > loopoo's Profile: http://www.excelforum.com/member.php...o&userid=28792
    > View this thread: http://www.excelforum.com/showthread...hreadid=491047
    >
    >


  4. #4
    Registered User
    Join Date
    11-14-2005
    Posts
    37
    Hi Bob, chijanzen!

    Thanks you both for your help,
    Chris

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1