Script for (u)mounting partition and open explorer
Posted: 21 Apr 2023 15:45
Hello,
I use Windows XP still. I would like to do the following. I have a file like video and I select it in file explorer. I copy it in context menu or by ctrl+c. Now I want to click on icon on my desktop to run a script. The script must to do the following: To mount a certain partition (now there are three disks connected and I can do this manually in MS Disk Manager). So I need to add a letter Y: to the partition I think it is 3rd partition (NTFS). Then I need to open certain folder like SHARED in File rxplorer - so not to do this manually. Then I need to paste the file here. And unmount the partition.
OR - if possible better solution of my problem would be: Do not open the Explorer, but copy the file here: Y:\_SHARED_ ... Because the file to be copied is already marked. I think this would be definitely perfect solution. And then unmount the partition. The last step is very important for me. Can you help me with this. I think I can find how to mount or unmount but not sure how to copy the file - the ctrl+C marked file.
I use Windows XP still. I would like to do the following. I have a file like video and I select it in file explorer. I copy it in context menu or by ctrl+c. Now I want to click on icon on my desktop to run a script. The script must to do the following: To mount a certain partition (now there are three disks connected and I can do this manually in MS Disk Manager). So I need to add a letter Y: to the partition I think it is 3rd partition (NTFS). Then I need to open certain folder like SHARED in File rxplorer - so not to do this manually. Then I need to paste the file here. And unmount the partition.
OR - if possible better solution of my problem would be: Do not open the Explorer, but copy the file here: Y:\_SHARED_ ... Because the file to be copied is already marked. I think this would be definitely perfect solution. And then unmount the partition. The last step is very important for me. Can you help me with this. I think I can find how to mount or unmount but not sure how to copy the file - the ctrl+C marked file.