durex Posted January 1, 2005 Share Posted January 1, 2005 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. Link to comment Share on other sites More sharing options...
Astalavista Posted January 1, 2005 Share Posted January 1, 2005 u can find two more methods herehttp://www.msfn.org/board/index.php?showtopic=32957at the lower end of the post Link to comment Share on other sites More sharing options...
durex Posted January 1, 2005 Author Share Posted January 1, 2005 I searched through that post and couldnt find anything that does this... Link to comment Share on other sites More sharing options...
prathapml Posted January 2, 2005 Share Posted January 2, 2005 hehe...good heads-up! Knew of it, but did not use it till now, so now I will use it. Link to comment Share on other sites More sharing options...
FriendlyGhost Posted January 2, 2005 Share Posted January 2, 2005 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 Link to comment Share on other sites More sharing options...
Tsunami Posted January 2, 2005 Share Posted January 2, 2005 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). Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted January 2, 2005 Share Posted January 2, 2005 Thank you! Will use this one! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now