Code available on my Github:
I have a VeraCrypt drive on which I store files synced with several cloud drives.
Naturally, the drive needs to be mounted first before the cloud drives' "agent" run. If not, they'll fail.
So, I removed those agents from the startup list, and run my script instead. It will wait until the VeraCrypt drive is mounted, then proceed to run .lnk files in the mounted drive's "/autoruns" directory.
Post your working scripts, libraries and tools
4 posts • Page 1 of 1
I normally use trusted auto run, but I may also use this one some time, thanks!
Well, just be aware that this little utility is a "one-shot" utility: It does not stay resident.
And you also need to specify which drive(s) to find the autorun files in. Currently it only searches for .lnk files (although you can easily change this in the script).
@pepoluan the thing I am concerned the most is if the drive changes its letter, can happen unless you make it fixed.
Who is online
Users browsing this forum: hasantr and 36 guests