随笔 - 52  文章 - 0  评论 - 31  阅读 - 18万 
10 2007 档案
远程重启服务器的程序
摘要:今天通过远程桌面重启服务器失败了,远程桌面就登录不进去了,不过还是能ping通的,为了能接着工作,就写了下面的代码去重启服务器。使用System.Mangement命名空间需要引用System.Mangement。 using System; using System.Collections.Generic; using System.ComponentModel; using System.Da... 阅读全文
posted @ 2007-10-26 14:59 pdfw 阅读(1621) 评论(0) 推荐(0) 编辑
JS 中的文件操作
摘要:function FileOperation() { var fso, f1, f2, s; fso = new ActiveXObject("Scripting.FileSystemObject"); f1 = fso.CreateTextFile(... 阅读全文
posted @ 2007-10-11 15:28 pdfw 阅读(980) 评论(0) 推荐(0) 编辑
使用Process类调用EXE程序出错的问题
摘要:Process process = new Process(); string strSignToolPath = string.Empty; string strPfxFilePath = string.Empty; string password = string.Empty; string strFilePath = string.Empty; string strCmd = st... 阅读全文
posted @ 2007-10-09 14:02 pdfw 阅读(1328) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示