The script doesn't go into a button.
Some examples of similar scripts, with instructions on how to set them up:
Product Version (matching File Explorer)
Video length, dimensions, framerate, definition columns
Icaros video information columns
Columns: Macrium Reflect