andy_tigger

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2010年10月25日

摘要: string gameUrl =http://www.baidu.com string fileName = HttpUtility.UrlEncode("百度.url"); context.Response.ContentType = "APPLICATION/OCTET-STREAM"; context.Response.AddHeader("Content-Disposition", "at... 阅读全文
posted @ 2010-10-25 17:42 andy_tigger 阅读(228) 评论(0) 推荐(0) 编辑

摘要: using System;using IWshRuntimeLibrary;class Program{ static void Main(string[] args) { //创建快捷方式 //建立对象 WshShell shell = new WshShell(); //生成快捷方式文件,指定路径及文件名 IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut("c:\\" + "my.lnk"); //快捷方式指向的目标 shortcut.TargetPath = "e:\\S 阅读全文
posted @ 2010-10-25 15:56 andy_tigger 阅读(1330) 评论(0) 推荐(0) 编辑