A pedant that hangs out in the dark corner-cases of the web.

Tuesday, November 16, 2004

Some (invalid) HTML to crash IE

<xmp>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>Crash IE</title></head><body>
<table style="table-layout:fixed">
<col style="width:20em" />
<tbody><font face="Arial" size=2><p></font>
<font face="Arial" size=2> </font>
<p> <font face="Arial" size=2> </font>

</xmp>

Handy Windows environment variables

%RANDOM%, %DATE%, %TIME% and others are documented in the system help. Type help set.

Date and time strings use the formats set via Regional and Language Options in the Control Panel; the default date format is MM/DD/YYYY in the US, which isn't good for scheduled archival file renaming, so change the format to ISO 8601-style YYYY-MM-DD for the user account you run your scheduled jobs under.