find drive letter of external hard drive

View: New views
2 Messages — Rating Filter:   Alert me  

find drive letter of external hard drive

by mikey411 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I'm working on a backup solution to back up certain folder on the C: drive onto an external drive.
The drive letter of the external drive is not constant since each drive letter could be used for network mapped drives or other external usb device.  As the users that I will be deploying it to do not have admin rights on their computer, they would not be able to go into computer management to change the drive letter that I am using in my backup solution scripts.
So I'm in need of a batch file that would return the drive letter of that specific external drive which will be a Seagate FreeAgent Desktop hard drive.

Thanks!
Mike

Re: find drive letter of external hard drive

by foxidrive-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 3 Mar 2008 12:31:25 -0800 (PST), mikey411 <jungle31@...>
wrote:

>I'm working on a backup solution to back up certain folder on the C: drive
>onto an external drive.
>The drive letter of the external drive is not constant since each drive
>letter could be used for network mapped drives or other external usb device.
>As the users that I will be deploying it to do not have admin rights on
>their computer, they would not be able to go into computer management to
>change the drive letter that I am using in my backup solution scripts.
>So I'm in need of a batch file that would return the drive letter of that
>specific external drive which will be a Seagate FreeAgent Desktop hard
>drive.
>
>Thanks!
>Mike

Will the batch file be running from the Seagate FreeAgent Desktop hard
drive.  Or is the volume label constant?

LightInTheBox - Buy quality products at wholesale price