Sign in to follow this  
Followers 0
PantZ4

How to run a .chm file?

10 posts in this topic

How do I run a .chm file?

(A help file)

I tryed run but gets this error: ==> Unable to execute the external program.:

Thank you ;)

Share this post


Link to post
Share on other sites



Try:

RunWait(@COMSPEC & " /c Start filename.chm")

IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Try:

RunWait(@COMSPEC & " /c Start filename.chm")
Nope Didn't work Edited by Mr. Zero

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

maybe...

$my_file = FileGetShortName("C:\Program Files\Autoit3\Autoit.chm")

RunWait(@COMSPEC & " /c Start " & $my_file)

the file MUST exist

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

Welcome

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

ShellExecute (beta only I believe) would be a nicer approach if you ask me ;)

Share this post


Link to post
Share on other sites

Beta +

ShellExecute("C:\Program Files\AutoIt3\AutoIt3.chm")


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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  
Followers 0