Jump to content
Sign in to follow this  
MrBedo

Run(control.exe) opens Explorer

Recommended Posts

I've got a simple script that starts off by opening the control panel using the command:

Run("control.exe")

Once compiled with the rest of the script and run as an administrator it works without any problems. If I run it as a normal user it launches an instance of Windows Explorer instead of the control panel.

Control.exe works fine as a normal user if I run it other ways though. If I clcik on START then RUN and type control.exe into the box then it opens the control panel as normal.

Can anyone shead some light onto why its demonstrating this odd behaviour ?

cheers

rich

Share this post


Link to post
Share on other sites

I'm sure it has to do with your Administrator settings... someplace. But i'm not sure where.

but this might help now

Run(@ComSpec & " /C START " & "control.exe", "", @SW_MINIMIZE)

good luck


NEWHeader1.png

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...