Hi,

Does anyone know if there is someway to write something harmless to \\.\PhysicalDrive0 in Windows XP?

I have successfully used the ReadFile and would like to try the WriteFile, but then I'd have to find something safe to write to it.

Any help would be appreciated.

Best regards,
MiCo

Recommended Answers

All 2 Replies

>>Does anyone know if there is someway to write something harmless to \\.\PhysicalDrive0 Nope. There is nothing harmless about writing anything to a drive. It is always a destrictive write (meaning it destroys whatever was written there before).

Any kind of experimental messing about with writing to \\.\PhysicalDrive0 is sure to lead to that inevitable question of "Now, where did I put those install disks?".

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.