Hi

How can I protect/lock a drive from deleting files and format it ?
Is there a way to hook a drive?

Recommended Answers

All 2 Replies

This is surely an OS dependent question - I'd say the only way to do it in c++ would be with a system() call to the appropriate OS command.

Dave

which command can protect drive for windows os (xp,7)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.