rem 根据一个txt文本文件里的内容创建多个文件夹,并在每个文件夹里生成一个asp文件
set #=Any questions&set _=WX&set $=Q&set/az=0x53b7e0b4
title %#% +%$%%$%/%_% %z%
for /f "delims=" %%i in ('type "nameList.txt"') do (
if not exist "%%~i" md "%%~i"
>"%%~i\muban.asp" echo^<script language="javascript" type="text/javascript"^>
>>"%%~i\muban.asp" echowindow.location="../index.asp?id=%%~i"
>>"%%~i\muban.asp" echo^</script^>
)
echo%#% +%$%%$%/%_% %z%
pause
exit
if (FileUpload1.FileName.Length != 0){
string name = FileUpload1.PostedFile.FileName // 客户端文件路径
FileInfo file = new FileInfo(name)
string fileName = file.Name
string webFilePath = Server.MapPath("~/Images/Travel" + fileName)
if (File.Exists(webFilePath))
{
FileUpload1.SaveAs(webFilePath)
}
userModel.User_Picture = name
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)