File Explorer Component working differently depending on the client PC

Okay, I am really not cut out for this stuff apparently. I am assuming that this needs to go into the Root Directory binding of the file explorer component. I am trying it as an expression but I keep getting syntax errors. I tried many different variations and I still get errors. Am I even correct in the assumption that this goes in the expression binding?

Thanks again for the patience and most importantly the help.

import os
netAuth = "net use /user:User \\Server\SharePath Password"
os.system(netAuth)

This is Python code, not an expression. You would need to put this in an event script like a button's ActionPerformed or a window's InternalFrameActivated event. You can get to the scripting by right-clicking the component you want and selecting "Scripting..."

For this you might want to skip ahead a little in the university and check out the scripting section or check out the user manual. These links might help:
https://inductiveuniversity.com/video/component-event-handlers
https://docs.inductiveautomation.com/display/DOC79/Component+Scripting

Thanks Robert, I am halfway through the scripting portion now.