|
Post by foxpropgmr on Mar 10, 2023 2:21:09 GMT 1
A client just had a problem with some ransomware, and the ransomware even found the flash drives. So I thought about OneDrive ... Is it possible to assign a drive letter to OneDrive?
Turns out you can. This command will do it in Windows 11 >>> subst n: c:\users\%username%\OneDrive (from the command window)
Strangely enough, File Explorer shows no sign of n:
But I was wondering if vDos had any sneaky way of attaching to this drive. I tried a few obvious USE commands and also tried using the IP address of OneDrive, but no luck yet.
Right now my DOS app has automated and manual backups to various physical drives on the computer; but accessing OneDrive from vDos would be slick.
Any ideas anyone? Or is there a better solution?
|
|
|
Post by Jos on Mar 10, 2023 8:27:27 GMT 1
No sneaky way: USE n: c:\users\%username%\OneDrive should just work. It’s always better USE to connect to an UNC path instead of a mapped Windows drive letter. Eventually copy vDos.exe to OneDrive, start it and issue USE to see the Windows UNC path. Mind, OneDrive synchronizes on demand local files with those in the cloud. So you’re essentially accessing local files. If you want to access the files in the cloud directly, another UNC path is required. Something like domain.sharepoint.com/sites/... But that could very well degrade the performance of your program. Jos
|
|
|
Post by foxpropgmr on Mar 12, 2023 4:21:34 GMT 1
Jos ..
Yes! That worked surprisingly well. And simple too.
Thanks
|
|