我试图将进入主文件夹的文件复制到另一个没有日期st的文件。使用附加的代码来实现它。但是收到错误消息,系统找不到指定的文件。
%let rptpath = R:\CDW Reporting\Ad-Hoc\WR#_JAS0031 -Walls Regional HospitalHainey\Data Out\;
%let rptname = Walls Regional Hospital Hainey Report;
%let rptdate = today();
%let rptdatefmt = YYMMDDd10.;
data _NULL_;
cmd = "COPY &rptpath.&rptname" ||put(&rptdate,&rptdatefmt) || ".xlsx C:\Users\UCS1MKP\Desktop\y\&rptname..xlsx";
call system(cmd);
run; `
现在如何克服这一点。谢谢.Manesh
答案 0 :(得分:0)
由于您的路径包含空格,因此您需要在生成的COPY命令中添加引号。
<html>
<?php
// Include connection.php
include("connection.php");
$sql = "SELECT *
FROM CARS";
$result = mysql_query($sql,$con);
//echo Sresult;
?>
<table border =1>
<tr>
<td> ID </td>
<td> Make </td>
<td> Model </td>
<td> Year </td>
<td> Mileage </td>
<td> First Name </td>
<td> Last Name </td>
<td> Email </td>
</tr>
<?php
//whileloop
while($row = mysql_fetch_array($result)){
?>
<tr
<td>
<?php echo $row['ID'];?>
</td>
<td>
<?php echo $row['MAKE'];?>
</td>
<td>
<?php echo $row['MODEL'];?>
</td>
<td>
<?php echo $row['YEAR'];?>
</td>
<td>
<?php echo $row['MILE'];?>
</td>
<td>
<?php echo $row['FNAME'];?>
</td>
<td>
<?php echo $row['LNAME'];?>
</td>
<td>
<?php echo $row['EMAIL'];?>
</td>
</tr>
<?PHP
}
?>
</table
</html>