Technical Discussion
  >> Windows Issues


Register (or login) on our website and you will not see this ad.


Pages in this thread: 1 | 2 | (show all)   Print Thread
Standard User XRaySpeX
(eat-sleep-adslguide) Wed 10-Jun-26 04:29:53
Print Post

Make a Portable Device a Drive Letter


[link to this post]
 
How do you turn a Portable Device which appears as "This PC\My Device" under Win 10 or 11, so I can script it in CMD? I try Easy Access > Map as Drive in Explorer but I can't construct a recognisable path to it

1999: Freeserve 48K Dial-Up > 2005: Wanadoo 1 Meg BB > 2007: Orange 2 Meg BB > 2008: Orange 8 Meg LLU > 2010: Orange 16 Meg LLU > 2011: Orange 20 Meg WBC > 2020: EE 40 Meg FTTC > 2022: EE 80 Meg FTTC SoGEA > 2025 EE 150 Meg FTTP
Standard User GonePostal
(fountain of knowledge) Wed 10-Jun-26 08:17:31
Print Post

Re: Make a Portable Device a Drive Letter


[re: XRaySpeX] [link to this post]
 
In reply to a post by XRaySpeX:
How do you turn a Portable Device which appears as "This PC\My Device" under Win 10 or 11, so I can script it in CMD? I try Easy Access > Map as Drive in Explorer but I can't construct a recognisable path to it


This should help: https://www.windowscentral.com/how-mount-hard-drive-....
Standard User XRaySpeX
(eat-sleep-adslguide) Wed 10-Jun-26 10:45:51
Print Post

Re: Make a Portable Device a Drive Letter


[re: GonePostal] [link to this post]
 
Thanks but sorry, this doesn't fit the bill. It sorta does the reverse by replacing a drive letter by a folder. Also the Portable Device does not appear in Disk Mgt.

1999: Freeserve 48K Dial-Up > 2005: Wanadoo 1 Meg BB > 2007: Orange 2 Meg BB > 2008: Orange 8 Meg LLU > 2010: Orange 16 Meg LLU > 2011: Orange 20 Meg WBC > 2020: EE 40 Meg FTTC > 2022: EE 80 Meg FTTC SoGEA > 2025 EE 150 Meg FTTP


Register (or login) on our website and you will not see this ad.

Standard User GonePostal
(fountain of knowledge) Wed 10-Jun-26 12:21:33
Print Post

Re: Make a Portable Device a Drive Letter


[re: XRaySpeX] [link to this post]
 
In reply to a post by XRaySpeX:
Thanks but sorry, this doesn't fit the bill. It sorta does the reverse by replacing a drive letter by a folder. Also the Portable Device does not appear in Disk Mgt.


Sorry if it was a bum steer. However I used the information for Windows 10 from that link and now have three USB sticks and a portable USB HDD registered to folders in Windows Explorer so I can back things up with the Fast Copy utility without worrying whether the drive letter is going to change.
Standard User zaggie
(member) Wed 10-Jun-26 17:24:18
Print Post

Re: Make a Portable Device a Drive Letter


[re: XRaySpeX] [link to this post]
 
In reply to a post by XRaySpeX:
How do you turn a Portable Device which appears as "This PC\My Device" under Win 10 or 11, so I can script it in CMD? I try Easy Access > Map as Drive in Explorer but I can't construct a recognisable path to it
Use built-in Disk Management to Add or Change drive letter while the portable device is connected. The details and drive letter are then recorded in the registry
Standard User XRaySpeX
(eat-sleep-adslguide) Wed 10-Jun-26 18:37:31
Print Post

Re: Make a Portable Device a Drive Letter


[re: zaggie] [link to this post]
 
Again, thanks but sorry. The Portable Device does not even appear in Disk Mgt.

1999: Freeserve 48K Dial-Up > 2005: Wanadoo 1 Meg BB > 2007: Orange 2 Meg BB > 2008: Orange 8 Meg LLU > 2010: Orange 16 Meg LLU > 2011: Orange 20 Meg WBC > 2020: EE 40 Meg FTTC > 2022: EE 80 Meg FTTC SoGEA > 2025 EE 150 Meg FTTP
Standard User DFScale
(experienced) Wed 10-Jun-26 23:18:31
Print Post

Re: Make a Portable Device a Drive Letter


[re: XRaySpeX] [link to this post]
 
In reply to a post by XRaySpeX:
How do you turn a Portable Device which appears as "This PC\My Device" under Win 10 or 11, so I can script it in CMD? I try Easy Access > Map as Drive in Explorer but I can't construct a recognisable path to it


Put your question into Google AI and indeed CMD is not going to play. But if you then ask the supplementary question "is there an alternative to CMD which allows you to script for a portable device?" you get this:
Yes, PowerShell is the best native alternative to CMD for this task. It completely removes the need for drive letters because it can tap directly into the Windows Shell namespace—the exact same backend system that File Explorer uses to display your device under "This PC".


and a load more info on how to do this.

Drive letters are by now completely outmoded. Linux and Unix have had a single directory tree since before DOS and if I were still doing Windows, I would definitely be moving away from CMD.
Standard User Taras
(eat-sleep-adslguide) Thu 11-Jun-26 11:17:38
Print Post

Re: Make a Portable Device a Drive Letter


[re: XRaySpeX] [link to this post]
 
https://www.tenforums.com/drivers-hardware/111728-ho...

this thread may help

There was a tool that allowed you to make a removeable drive non- removable. I had used that tool many years ago and worked for my usage
Standard User jchamier
(eat-sleep-adslguide) Thu 11-Jun-26 11:38:07
Print Post

Re: Make a Portable Device a Drive Letter


[re: XRaySpeX] [link to this post]
 
I suspect whatever this device is, its not showing up as a USB Storage Device. Is this perhaps an external camera? If it doesn’t show in Disk Management then Windows doesn’t see it as a storage device, so won’t give it a drive letter.

E.g. Apple iPhone/iPad show up this way, as they are read-only for copying photos from the device.

More about the device might help relevant suggestions as the rest of the thread appears to have missed this isn’t a storage device.

Unless this is a USB stick formatted on Mac or Linux and Windows can’t identify the file system?

26 years of broadband connectivity since Sep 1999 trial - Live BQM
Standard User TinyMongomery
(legend) Thu 11-Jun-26 13:16:11
Print Post

Re: Make a Portable Device a Drive Letter


[re: XRaySpeX] [link to this post]
 
It all depends upon what device it is. For example, modern iPhones and Android phones won’t act like an external drive without special software and/or changes made on the device. If it doesn’t show in disk management then it’s not a valid storage device. In addition, you may need appropriate USB drivers for it to be recognised.

So, what is the device?
Pages in this thread: 1 | 2 | (show all)   Print Thread

Jump to