Jump to content

Recommended Posts

Posted

I am lost...

I need execute some functions and one this is:
"create a folder in C:Program FilesMyApp And C:Program Files (x86)MyApp", but I can't... on Windows 8 x64 on normal account (the installer can ask the login and password administrator's account)"

I try disable UAC: does not work and not recomended...

 

Someone can help-me?

Detefon

Visit my repository

  • Moderators
Posted

This works for me (once compiled, of course). Is it not working for you?

#pragma compile(ExecLevel, requireAdministrator)

$oFolder = DirCreate("C:\Program Files\MyApp")

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...