I am working on making virtual drive(which is showen like a real drive like local disk). when i run my project, the drive name is always "Local disk".
I want to change it to like "TEST" or something.
I am pretty sure that I can change it cuz windows has this function.
I can change the name manually. right?
Actually, I used SetVolumeLabel('virtual drive letter', 'new drive name") function, but
it failed. I couldn't find any reason.
Generally, drive name is set to "Local Disk".
You can change the name manually from within windows explorer. Added, It doesn't matter
what sort of OS you use.
And I posted it "I used SetVolumeLabel function, but it failed." which didn't mean
it has a complie error or run time error.
The function returns 0 or something when it fails to change the VolumeLabel(Drive Name).