Hi,
I need to get and change the volume serial number a diskette. I'm developing a program written in ANSI C (must be ANSI C, I can`t use visual languages). Is there any function or library?
Thanks!
Printable View
Hi,
I need to get and change the volume serial number a diskette. I'm developing a program written in ANSI C (must be ANSI C, I can`t use visual languages). Is there any function or library?
Thanks!
For Windows, try SetVolumeLabel("A:\", "VolumeLabel").
I`m not refering to Volume Label, I need to access Volume Serial Number of A:\
thx!
The volume serial number is part of the boot sector stored in the extended BPB. For NTFS this is a LONGLONG at byte offset 0x48. Try a google search for what you are trying to accomplish, I have seen sample code posted in the past for changing the value.