最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp.net c# 文件 复制 移动 删除方法
时间:2022-06-25 05:04:21 编辑:袖梨 来源:一聚教程网
asp教程.net c# 文件 复制 移动 删除方法
本文章提供关于asp.net教程 c# 文件 复制 移动 删除方法的,非常简单,复制,删除文件,移动文件都只要一句就ok了,我们都是利用fso来删除文件哦。
*/
//删除文件
string delfile = server.mappath(".")+"mytextcopy.txt";
file.delete(delfile);
//移动文件
file.move(server.mappath("text.txt"), server.mappath("txt/text.txt"));
//复制文件
file.copy(server.mappath("text.txt"), server.mappath("textcopy.txt"));
相关文章
- 淘宝卖家进货渠道全解析 09-03
- 硬盘噪音大?试试这5招降噪 09-03
- TPLink TLWR960N 无线路由器上网时间限制功能设置 09-03
- 360电脑救援使用指南 09-03
- 360人工救援解决电脑故障 09-03
- 地震救援专家及作用解析 09-03