Systen,IO
2024-10-18 01:36:38
private void CreateHtml(string sPath, string txt)
{
string currPath = @"C:\MyCodeHelper" + sPath;
FileInfo fi = new FileInfo(currPath);
var di = fi.Directory;
if (!di.Exists)
di.Create(); using (StreamWriter s = File.CreateText(currPath))
{
s.Write(txt);
}
}
最新文章
- 基于redis分布式缓存实现(新浪微博案例)
- mongodb 数据库操作--备份 还原 导出 导入
- 20套新鲜出炉的免费 PSD 格式的图标《免费下载》
- Floyd算法核心代码证明
- Codeforces Round #335 (Div. 2) B. Testing Robots 水题
- Fisher's exact test( 费希尔精确检验)
- 二叉搜索树算法详解与Java实现
- 重置mysql密码
- Swift 2.0初探:值得注意的新特性
- windows下自动删除n天前的文件
- MFC设置窗体大小SetWindowPos
- 深度学习开发环境搭建教程(Mac篇)
- IS-IS完整笔记
- oracle数据库语句积累
- Spring的AOP基于AspectJ的注解方式开发2
- linux driver ------ platform模型,驱动开发分析
- JavaScript学习-3——数组、函数、递归
- Echo团队Alpha冲刺随笔 - 第四天
- vue 添加子路由,并对路由重定向
- Tensorflow动态seq2seq使用总结(r1.3)