--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "descent49" <cy_lists@> wrote: > > > > Hi there, > > > > I'm working as a non-admin user and I'm trying to run some PP commands > > with the admin rights, so far with no luck. I've tried using PPBang, > > it doesn't work either. I guess it has to do with security. PP allows > > only a single copy to run, so you have to send messages from one > > user's context to another's, which isn't allowed, correct me if I'm > wrong. > > > > Any idea, how this could be done *with PP tools only*? > > > > > > ; simplest version of what I want > > ; change paths if necessary > > @dummy > > Local _pp_bin=?"C:\Tool\Shell\PowerPro\PowerPro.exe" > > Local _ppb_bin=?"C:\Tool\Shell\PowerPro\PPBang.exe" > > file.runas(gvAdminUser, gvAdminPass, _pp_bin, ?!win.debug("boom")!) > > file.runas(gvAdminUser, gvAdminPass, _ppb_bin, ?!win.debug("bang")!) > > Quit > > Maybe you have to try (:notice the leading blank in param): > file.runas(gvAdminUser, gvAdminPass, _pp_bin, ?! win.debug("boom")!)
BTW, I missed the first part of your message. No, the PP's command will not run as Admin, but as the current user at last. You may consider using PPBangTwice which you can find in files section. Sean Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
