Jump to content
Sign in to follow this  
Jime

Is it possible to load a shortcut?

Recommended Posts

Jime

This is the program that needs a shortcut to run in window mode

C:\Program Files\Warcraft III\Frozen Throne.exe

The target of the shortcut is "C:\Program Files\Warcraft III\Frozen Throne.exe" -window

I'd like to make it in the script to load a shortcut or become the shortcut

Run("C:\Program Files\Warcraft III\Frozen Throne.exe") makes it in full screen, but I'd like it to run in window mode, which can only be achieved with a shortcut.

I'd imagine

Run("C:\Program Files\Warcraft III\Frozen Throne.exe" -window) would work, but it gives me an error because I'm so newb :D

-Thanks in advance

Share this post


Link to post
Share on other sites
Geert

$file = "MyShortcut.lnk"
Run("rundll32 url.dll, FileProtocolHandler " & $file)

Good luck!

Share this post


Link to post
Share on other sites
jtnktz

I had the same problem. I play diablo what i id was this...

Run ("C:\Program Files\Diablo II\Diablo II.exe -w" )oÝ÷ ÚÊ"êÜjÇ¢·
.ÖÞjëh×6Run("C:\Program Files\Warcraft III\Frozen Throne.exe -w")

there you go

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  

×