Blue_Skies Posted March 3, 2008 Share Posted March 3, 2008 Hi all. I want to code a batch file that find and saves to a specific drive label instead of a drive letter. I cant figure out how. Can anyone help? Thank you. Quote Link to comment Share on other sites More sharing options...
Sparda Posted March 3, 2008 Share Posted March 3, 2008 On Ubuntu... this is easy, particularly since Ubuntu mounts partitions in /media using the label as the mount point name. Quote Link to comment Share on other sites More sharing options...
Blue_Skies Posted March 3, 2008 Author Share Posted March 3, 2008 Thanks for the quick reply. I neglected to mention that I'm scripting this for Windows, not Linux. Thanks though. Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted March 4, 2008 Share Posted March 4, 2008 Thanks for the quick reply. I neglected to mention that I'm scripting this for Windows, not Linux. Thanks though. he knows that, he's just being a ubuntu jackass also batch is always windows Quote Link to comment Share on other sites More sharing options...
soulbleed Posted March 19, 2008 Share Posted March 19, 2008 What do you actually need the script to do? There is probably a better way to do what you want, without trying to compare drive labels to drive letters. If not, look into the fsutil command. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.