问题
I've seen a tutorial online that explained how to change the icon of a pen drive once inserted using an autorun.inf
file and a .ico
file, and it worked perfectly, but I wanted to know if there's a way to choose a random file from a list of .ico
files inside the pen drive.
Here's the code I'm using for the normal icon
[Autorun]
Icon=IconName.ico
Label=PENDRIVE
If this can't be directly done using the autorun.inf
file, please let me know an alternative method, even if it requires other files (such as .vbs
files)
Here's the website I used just in case
https://www.windowscentral.com/how-set-custom-icon-removable-drive-windows-10
来源:https://stackoverflow.com/questions/48526543/how-do-i-randomly-pick-an-icon-for-a-pen-drive