I have
tride SetVolumeLabel and I have tried using the Label command, but neither of
these work, unless I have to specify the drive identifier (Root path name)
differently. I have tried the following in Delphi:
SetVolumeLabel(PChar('G:'),
PChar('Bob'));
SetVolumeLabel(PChar('G:\'),
PChar('Bob'));
SetVolumeLabel(PChar('\\machinename\C'),
PChar('Bob'));
SetVolumeLabel(PChar('\\machinename\C:'),
PChar('Bob'));
and
for the Label command
Label G: Bob
Label G:\ Bob
Label \\machinename\C
Bob
Label \\machinename\C: Bob
Thanks
Stacey
|
- [DUG]: Renaming/Relabeling A Shared Drive from Delphi. Stacey Verner
- Re: [DUG]: Renaming/Relabeling A Shared Drive from Del... Nello Sestini
- Re: [DUG]: Renaming/Relabeling A Shared Drive from Del... Stacey Verner
- Re: [DUG]: Renaming/Relabeling A Shared Drive from... Nello Sestini
- RE: [DUG]: Renaming/Relabeling A Shared Drive from Del... Stacey Verner
- Re: [DUG]: Renaming/Relabeling A Shared Drive from... Nello Sestini
- Re: [DUG]: Renaming/Relabeling A Shared Drive from... Nello Sestini
- RE: [DUG]: Renaming/Relabeling A Shared Drive from Del... Stacey Verner