Entry
TSE: Drive: Volume: Remove: How to: How to possible remove the volume label of a drive?
Oct 4th, 2004 10:58
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 04 October 2004 - 07:53 pm --------------------
TSE: Drive: Volume: Remove: How to: How to possible remove the volume
label of a drive?
---
--- cut here: begin --------------------------------------------------
DLL "<kernel32.dll>"
// library: drive: remove: volume: label: central [kn, ri, tu, 21-09-
2004 04:04:23]
INTEGER PROC FNDriveRemoveVolumeLabelCentralI( STRING
RootPathName:cstrval, INTEGER MustBeZeroI ) : "SetVolumeLabelA"
END
// library: drive: remove: volume: label (filenamemacro=remodrvl.s)
<author>Chris Antos</author> (you must put this procedure in the
beginning of your program, and not add it to the 'FORWARD' functions
and procedures in the top of your program) [kn, ri, tu, 21-09-2004
04:03:28]
INTEGER PROC FNDriveRemoveVolumeLabelI( STRING s )
// e.g. PROC Main()
// e.g. Message( FNDriveRemoveVolumeLabelI( "c:\" ) ) // gives
e.g. "unlabeled" for drive c:\
// e.g. END
// e.g.
// e.g. <F12> Main()
RETURN( FNDriveRemoveVolumeLabelCentralI( s, 0 ) )
END
PROC Main()
Message( FNDriveRemoveVolumeLabelI( "c:\" ) ) // gives e.g. ...""
END
<F12> Main()
--- cut here: end ----------------------------------------------------
---
---
Internet: see also:
---
TSE: Drive: Link: Overview: Can you give an overview of links about a
drive?
http://www.faqts.com/knowledge_base/view.phtml/aid/31763/fid/896
----------------------------------------------------------------------