Karl Blessing
Programmer
this is the section of the HTML that is sent to the client, and I get the Error on each Go(... line about Unterminated string constant, but as you can see, both the single quote, and double quotes are terminated, and I havent changed them from before, but now I get the error all the sudden.<br><FONT FACE=monospace><br><Table border=1 style="width:100%;"><br> <TH bgcolor=Black><Font color=White> Root </FONT></TH><br> <TR><br> <TD onclick="Go('A:\')"> A<BR> </TD><br> </TR><br> <TR><br> <TD onclick="Go('C:\')"> C<BR> </TD><br> </TR><br> <TR><br> <TD onclick="Go('D:\')"> D<BR> </TD><br> </TR><br> <TR><br> <TD onclick="Go('E:\')"> E<BR> </TD><br> </TR><br></Table> <br></font><br>this is the ASP code being used to make those<br><FONT FACE=monospace><br>Dim d, dc, s, n<br><br>Set dc = fs.Drives<br>%> <Table border=1 style="width:100%;"> <%<br> %><TH bgcolor=Black><Font color=White> Root </FONT></TH><%<br> For Each d in dc<br> %> <TR> <%<br> s = d.DriveLetter<br> If d.DriveType = 3 Then<br> n = d.ShareName<br> ElseIf d.IsReady Then<br> n = d.VolumeName<br> End If<br> s = s & n & "<BR>"<br> %> <TD onclick="Go('<%=d.DriveLetter & ":\"%>')"> <%=s% > </TD><%<br> %> </TR> <%<br> Next<br>%> </Table> <%<br>end if<br></font> <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)