I'm trying to use runas in a way that launches an exe that has to load a file for example:
runas /user:domain\admin /savecred "C:\program files\program directory\program.exe file.sse"
If I run from command line just the file path and the file extension then it works fine, stick runas in front of it and it errors failing to load the file.
Any ideas if this can be modified to work?
I'm thinking a bat file that maybe calls up the runas to run the program saved as a variable maybe?
Thanks