Re: Launch chm file on WS within HTML

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ray Hinse (rhinse_at_comcast.net)
Date: 03/23/04


Date: Tue, 23 Mar 2004 03:46:03 GMT


"Chris ( Val )" <chrisval@bigpond.com.au> wrote in message
news:c3mvn1$29m7qs$1@ID-110726.news.uni-berlin.de...
> But what you have shown is not what I wrote :-).
>
> Just to be sure, I even tested it out:
>
> oShell.run( "\"c:\\WSH Script\\TechNet Script Center\\scriptcenter.chm\"" );
>
> Works fine.
>
> PS: Note that I said backslashes(as well as double
> quotes), in Java Script need to be escaped ?
> Note the doubled up back slashes...

It works for me too, I just forget to escape the backslashes in the path.

I finally found and downloaded Microsoft's Windows Script Technologies
SrcDocs for Version 5.6 which is providing a great deal of good answers
to my questions. Hopefully I can learn all I need from it.

This is my first foray into scripting necessitated by my need to identify
certain registry entries that may exist on my machine due to PestPatrol
reports. It hasn't been easy. I just hope that my hard won knowledge will
be of further use and can't than you enough for making things just
a little clearer.

Thanks,
Ray



Relevant Pages

  • Re: sed replace with html code and variables
    ... I'm trying to write a bash script that will do a replace among ... that I am running this command on... ... Even more so, in the RHS of a substitution, you don't need to escape ... double quotes in the RHS. ...
    (comp.unix.shell)
  • Re: Launch chm file on WS within HTML
    ... escape another. ... However, in Java Script, the rules are ... The command line cd ... |> | and only surrounded the file path with two double quotes. ...
    (microsoft.public.scripting.wsh)
  • Re: Accessing full command line or parameters WITH QUOTES
    ... The problem is that VBScript doesn't allow access to the full command line ... rebuild the parameters with the quotes inserted properly. ... what is that escape? ... as one argument to your script, ...
    (microsoft.public.scripting.vbscript)
  • Re: block writing
    ... You mean you have to escape the quotes inside a quoted ... There's no way around that if you use string literals. ... and if you really want to you can easily write a short script ...
    (comp.lang.javascript)
  • Applescript and Autoformat (search and replace), Word 2004
    ... script that will take care of a recurring editing issue with nested ... quotes to double quotes, ... set oldauto2 to auto format as you type replace quotes ... set auto format as you type replace quotes to false ...
    (microsoft.public.mac.office.word)