I need something like this:
@ECHO OFF
START AS ADMIN/ BLAH/BLAH/MOREBLAH/test.bat
You see, I want this to startup, start another batch as admin (as some features only work as admin.) so, any suggestion?
Offline
msdosdude wrote:
http://www.chebucto.ns.ca/~ak621/DOS/BatBasic.htm Maybe that can help?
![]()
it came up with a 404 error.
Offline
TornFusion wrote:
msdosdude wrote:
http://www.chebucto.ns.ca/~ak621/DOS/BatBasic.htm Maybe that can help?
![]()
it came up with a 404 error.
Sorry, here is the right link: http://www.chebucto.ns.ca/~ak621/DOS/BatBasic.html
Offline
i REALLY NEED IT NOW...
Offline
would RUNAS work?
My user name is Kiran, but I dont know what my domain is...
Offline
ermm. didnt really help.
My username is Kiran.
The path to the file I want it to open is 'C:\Users\Kiran\Desktop\startup.bat\'
I own a windows7.
Offline
erm... it says passphrase? whats that? I havent set a pass yet.
i dont have a pass for my user.
I cant type either when it comes up.
Last edited by TornFusion (2011-07-17 12:56:33)
Offline
fire219 wrote:
Set one.
![]()
sudo –password foobar cmd?
Offline
can you make it:
Password = a
Start as admin
PLEASE?
Offline
fire219 wrote:
I really don't know how the WinSudo thing works, so idk how to make it work w/o a password.
![]()
then why recommend?
Offline
TornFusion wrote:
fire219 wrote:
I really don't know how the WinSudo thing works, so idk how to make it work w/o a password.
![]()
then why recommend?
Because I thought it was a Windows port of the Linux sudo, and I know how to work that.
Offline