mklink can be run from any command path, therefore I'm trying to run mklink though runas by means of runas /noprofile /users:AdminUser mklink but I can get error that The system cannot find the file specified ? How can I tell runas to run the command mklink as I would when running mklink from any command prompt ?
Siberian
13
Junior Poster
Recommended Answers
Jump to PostIf it can't find runas, then why not use the full path. This might vary from PC to PC but here it was C:\Windows\System32\runas.exe
If it can't find mklink then that path could be supplied.
All 4 Replies
rproffitt
2,565
"Nothing to see here."
Moderator
milesb
0
Newbie Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Siberian
13
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.