Jump to content

Recommended Posts

Posted

Well I am just a beginner and I have read the tutorials on using the run command. I think it's called a 'command'. Please correct me if I'm wrong about that - or anything, really.

I can use Run("notepad.exe") and it would open up notepad and Run("mspaint.exe") would open up paint, but when i try something like Run("chrome.exe"), it shows the loading thing next to the mouse for a couple milliseconds, and then nothing happens...

What am I doing wrong?

Posted (edited)

Thanks wakillion. So, I'm assuming the dir is directory? What other files count as a directory?:unsure:

It didn't work for me gian... Thank you though!

OH it worked nevermind...

I just did

ShellExecute("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe")

Edited by bioloyx
Posted

Thanks wakillion. So, I'm assuming the dir is directory? What other files count as a directory?:unsure:

It didn't work for me gian... Thank you though!

Wait, you start the path from the Program Files folder right? What if it's in the Program Files(x86) folder?

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...