January 1, 200521 yr I searched all around for this. First found a vbscript that did it, then finally came across a MUCH easier solution.Sure enough theres an actual native Windows utility that does this for you, appropriately called 'label.exe'. The syntax is as followslabel <drive letter> <label name>IE:label c: systemHope someone else can use this as well.
January 1, 200521 yr u can find two more methods herehttp://www.msfn.org/board/index.php?showtopic=32957at the lower end of the post
January 2, 200521 yr hehe...good heads-up! Knew of it, but did not use it till now, so now I will use it.
January 2, 200521 yr This is old-school DOS executables.. Something that makes me feel happy...Just wanted to mention that using the %SystemDrive% variable with label makes the drive designation dynamic instead of a static "C:" (for all you non-C installing guys & gals out there).The %SystemDrive% variable is disclosed in the following post. Furthermore, you can type 'SET' in a command prompt - this returns all currently set variables.http://www.msfn.org/board/index.php?act=ST&f=70&t=10253Use this line in a .cmd file of your choice:LABEL %SystemDrive% System/FriendlyGhost
January 2, 200521 yr While we're at it, I found out that if you don't specify a drive, it will use the current drive (the drive of the directory you're currently in with DOS).
Create an account or sign in to comment