Launch bat/cmd script from self service portal

Launch bat/cmd script from self service portal

I'm trying to have the self service portal run a bat script for me so i dont constantly have to remap a user's drives randomly when they get disconnected.

Any ideas on how i would do this?

I already wrote the script and it works as expected but i can't seem to get desktop central to run this as current user, which i need. 

                New to ADSelfService Plus?