Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting... Please check out the Community Guidelines in the
Announcements and Administration Category.

How delete a directory using IRP?

flash_markflash_mark Posts: 22
I saw this code (http://www.cppblog.com/momoxiao/archive/2010/02/06/107338.html) to delete a file using IRP, now how make (or what i must change) to delete a specific directoty instead only a file?

thank you

Comments

  • Scott_Noone_(OSR)Scott_Noone_(OSR) Posts: 3,010
    You need to recursively delete all the files and subfolders.

    -scott
    OSR
    @OSRDrivers

    -scott
    OSR

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!