Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: anchor htm html open file
URL = "file://F:\path\file.htm" RunShell("cmd.exe", StrCat("/c start ", URL), ".", @NORMAL, @NOWAIT)But if URL = "file://F:\path\file.htm#Introduction", I get a 'Problem with Shortcut' dialog stating 'Unable to open "file://F:\path\file.htm#Introduction"'.
Note that a bookmark in an "http:" URL works with RunShell.
View this file in DOS to see its structure. We just ShellExecute the file to make the connection.
So does running "file://F:\path\file.htm#Introduction" from Start->Run.
I think it's because the "#Introduction" obscures the .htm extension. Sure wish I knew a way to do this without registry lookups.
Article ID: W13356
Filename: Opening an HTM File with an Anchor.txt
File Created: 1999:04:15:16:53:28
Last Updated: 1999:04:15:16:53:28