http://www.perlmonks.org?node_id=933593


in reply to Win32::Process::Create with elevated privileges on Windows 7

your problem is with "windows 7 UAC enabled". The fact is you can have the admin rights its just windows 7 needs to know "Windows Explorer" is open so UAC can link up with your admin rights to make it run.

But there are big problems with using UAC in windows 7 with Perl and one thing is if your program spits out a file it made and your in another folder with "Windows Explorer" the file will be copy'ed to the folder your currently viewing instead.

Pure Fact: Perl works best on *nix systems!!!!!!!!!!!!!!!!
  • Comment on Re: Win32::Process::Create with elevated privileges on Windows 7

Replies are listed 'Best First'.
Re^2: Win32::Process::Create with elevated privileges on Windows 7
by BrowserUk (Patriarch) on Oct 25, 2011 at 11:07 UTC

    If find it ironic that the same people who espouse that the unix shells (which one?) is what makes *nix superior to Windows, also tend to be the ones that claim that Perl works best on *nix.

    Ironic because Perl's original raison d'etre was to work around the complexities and deficiencies of those *nix shells.

    Which means that if the Windows shells are even more limited than the *nix ones, Perl is even more useful there.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.