<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Times New Roman">Dear Dr. Blaha and developers,<br>
<br>
In WIEN2k_11.1 (Release 14/6/2011), the "restore calculation from
directory specified" box is checked, a existing "directory" is
entered for "Save name or directory", then the "restore" button is
clicked under Utils. -> restore_lapw in w2web.<br>
<br>
Part of the error message:<br>
<br>
restore_lapw -d directory directory<br>
>>> No files found matching mask directory/directory<br>
<br>
The problem is that the script needs to run command "restore_lapw
-d directory" or </font><font face="Times New Roman">"restore_lapw
-d directory </font><font face="Times New Roman">case</font><font
face="Times New Roman">" instead</font>.<br>
<font face="Times New Roman"><br>
Thus, only a restore from "save_lapw -d case" is expected to work
with "case" for the </font><font face="Times New Roman"> "Save
name or directory"</font>.<br>
<font face="Times New Roman"><br>
It is suggested that</font><font face="Times New Roman"> line 66
of $WIENROOT/SRC_w2web/htdocs/util/restorelapw.pl:<br>
<br>
$cmdline .= " -d $savename" if ($d);<br>
<br>
be changed to:</font><font face="Times New Roman"><br>
<br>
</font><font face="Times New Roman">$cmdline .= " -d" if ($d);</font><br>
<font face="Times New Roman"><br>
where "</font><font face="Times New Roman">$savename</font><font
face="Times New Roman">" is removed.<br>
<br>
</font><font face="Times New Roman">That way a restore from
"save_lapw -d directory" will work with "directory" for the "Save
name or directory".<br>
</font><font face="Times New Roman"></font><br>
<font face="Times New Roman">Also, a restore from "save_lapw
head_of_save_filename -d directory" would be possible with the
entry format "directory </font><font face="Times New Roman">head_of_save_filename</font><font
face="Times New Roman">"</font> for the "<font face="Times New
Roman">Save name or directory</font>".<br>
<br>
Kind Regards,<br>
<br>
Gavin Abo<br>
</body>
</html>