New to scripting, could use some help please.

Need help with something like this:

NET USE 0:\\Servername\Share$---but I need to link/access a certain file i.e skills.idx
in order for aaplication to run.