in reply to Re^5: Windows 7 UAC with elevated privileges
in thread Windows 7 UAC with elevated privileges

:) You might also want to warn (in the docs) to add the  use Win32::RunAsAdmin qw(force); as soon as possible ... in case some other modules change cwd :) as PL_origargv doesn't track cwd :)

Replies are listed 'Best First'.
Re^7: Windows 7 UAC with elevated privileges
by Michael Roberts (Sexton) on May 05, 2014 at 22:07 UTC

    Hey - I just wanted to thank you again. If you hadn't forced me to understand what you were saying, I would have had no idea where to start looking when I used Win32::RunAsAdmin (without force) and Getopt::Euclid to determine based on a command-line flag whether to request elevated privileges or not.... and the command line disappeared (!) As it was, it was obvious what had happened.

    Anyway, v0.02 is up. Thanks.