Tech Support > Microsoft Windows > Drivers > deleting a file in the system dir
deleting a file in the system dir
Posted by Hao Zhuang on January 3rd, 2008


hello group,

i wish to delete a file in the system dir from my driver code. wonder if
there is a GetSystemDirectory() equivalence in DDK ?

thanks very much !

- hao

Posted by Maxim S. Shatskih on January 3rd, 2008


Use the hardcoded name of \SystemRoot\system32 instead.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"Hao Zhuang" <HaoZhuang@discussions.microsoft.com> wrote in message
news:90D14636-F118-418A-B3A6-B8F871F9F524@microsoft.com...


Similar Posts