Author Archive

Slet alle printerjobs

Written by Leif Stenfeldt. Posted in Tips

Lav en batch-fil med følgende linier

net stop spooler
del /q %windir%\system32\spool\PRINTERS\*.*
net start spooler

1420 views

adsmorc does not exist!

Written by Leif Stenfeldt. Posted in Programmer, Tips

TSM Server: AIX 4.3.3, TSM 5.1.5.4
RMAN Server: AIX4.3.3, TDP 5.2
RMAN Client: AIX 4.3.3, TSM 5.1.5, TDP5.2

The installation guide seems to be a little fuzzy on this topic…

4886 views

PHP / Checkbox

Written by Leif Stenfeldt. Posted in Programmering

<?
$msg = "";
if (isset($_REQUEST['submit'])) {
while(list($key, $value) = each($_POST['checkbox'])) $msg.=$value."\n";
print $msg." > - data";
<!--more-->}
?>

</p>
<form name="form1" method="post" action="m.php">
<input type="checkbox" name="checkbox[]" value="1">1<br>
<input type="checkbox" name="checkbox[]" value="2">2<br>
<input type="checkbox" name="checkbox[]" value="3">3<br>
<input type="submit" name="submit" id="submit" value="Submit"><br>
</form>
1382 views

Windows Explorer Thumbnail Crash ex. MP4

Written by Leif Stenfeldt. Posted in Tips

Explorer crash’er, hvis man går ind i en mappe som indeholder mp4 filer.

Windows Explorer Thumbnail Crash Workaround
>Windows Explorer in XP can be set to show thumbnails >of pictures and movies.
>It’s a useful feature, but kind of unstable.

1128 views