3 replies
by joseph moore
Well, this can be easy, actually.
Let's say the program is called PROG.EXE and it is stored in C:\PROGRAM FILES\PROG directory.
Open up Notepad and type in :
CALL "C:\PROGRAM FILES\PROG\PROG.EXE"
Save this file as a .BAT file (remember, don't tack on a .TXT at the end of this name; don't make it FILE.BAT.TXT).
Then, open up Scheduled Jobs
Set up a new Scheduled Jobs to run this BAT file, using your username/password when it asks for the account to run the Job as.
That will do it.
hope this helps
If I understand your question correctly, you want to be able to start the program WITHOUT entering the specific User ID and Password? If that is the case, use the following:
@RunAS /User:{userid} [d:][\path]program.exe
I strongly urge you NOTto include the password in the batch file but, if you insist, type runas /? at the command line to see how.
Ralph
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending