|
Stupid question that might be in the wrong place, please feel free to mock me and tell me where to take it if so. I use Dokan to mount seven network locations as drives on my PC. Because I don't know how to do Powershell, this means that every time I start my computer, I swap over to Desktop 2, run Windows Terminal as admin, open seven tabs in the window, and then chdir to my scripts directory and run a separate batch file in each tab. I have to do it this way because if I close the window, the drives unmount, and I don't want a bunch of terminal windows open on my primary desktop all the time. I'm certain there's a way to automate all of this to run on startup in the background in Powershell, but I don't know what it is. Is there an easy obvious way, or at least a good place to start looking?
|
# ¿ Jun 12, 2023 21:15 |
|
|
# ¿ Apr 29, 2024 05:27 |
|
Happiness Commando posted:Sure. Use task scheduler to run a powershell script that does those 7 commands. But why can't you just mount those network locations natively? Dokan makes them look like actual local drives. I have an application that fails if it sees them as "mounted network locations" instead of local drives. I'll look into that script. Thanks!
|
# ¿ Jun 13, 2023 11:53 |