It's a little messy what i'm doing, so i'm trying to fix it up a little...
So to explain, my camera switches on and echos the time to lapseon.txt using the CMD below
Code: Select all
if %Hour%==0 set "Hour=12"
set "Allm=%Hour%.%Min%"
echo document.write('%Allm% AM');> lapseon.txtthis outputs like this in the text file
Code: Select all
document.write('8.20 AM');Code: Select all
<script type="text/javascript" src="lapseon.txt"></script></abbr></td>Code: Select all
$a.ToShortTimeString() > C:\Cumulus\lapseon.txtDoes anyone have a method to add the contains of a txt file into website????