> Oh, so there is similar functionality already present in 
> PowerPro? - I wasn't aware of it.
> As for Your question, I haven't tested it in domain 
> environment, because I have currently no access to any. My 
> guess (based on MS
> documentation) is that it will work, when user name is 
> specified in [EMAIL PROTECTED] format.

That's the username format I was looking for with the file.runas command
(had tried user\domain, user/domain with no success) that Bruce added. When
using that format on this command:
file.runas("[EMAIL PROTECTED]","password", "c:\dave\totalcmd\totalcmd.exe")

I was getting this error with Bruce's function:

File.runas failed to create process
Access is denied.
C:

Looking at your plugin docs, I'm wondering if this error is coming from your
Technical Notes point 2. talking about working directory (which I'm not
referencing in my above command). I then remembered the powerpro \\ or /
path referencing needed for commands, and that led me to:
file.runas("[EMAIL PROTECTED]","password", "c:/dave/totalcmd/totalcmd.exe")
Then everything worked like a charm.

Thanks for the help!
David Troesch  |  Atlanta, GA  |  ICQ# 2333123
Treat each day as your last; One day you will be right.
Funstuff: Caution: Driver doesn't give a shit anymore!



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

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/
 


Reply via email to