Basically, the problem was that windows.open() in the
javascript didn't allow me the control I needed to
specify the appropriate command line parameters to
Windows Explorer. Perhaps there is a way, but I
didn't find it.
So, I found a solution that doesn't use windows.open().
Here is the code snippet:
<SCRIPT LANGUAGE="JavaScript">
<!--
function popUp(URL) {
var objShell = new ActiveXObject ( "Shell.Application" );
objShell.ShellExecute ( "explorer.exe", '/n,'+URL, "", "open", 1 );
}
// End -->
</script>
to*******@yahoo.com (Tone) wrote in message news:<6a**************************@posting.google. com>...
I have a very simple javascript popup that opens to
a drive folder, e.g.
c:\test
which is called as such:
<A HREF="javascript:popUp('C:/test')">Test Folder</A>
This displays the contents of the c:\temp folder
but defaults to a view of "large icons." Is there
a way to make it default to a view of "details?"