JAVA创建桌面快捷方式
来源:互联网 发布:电脑绘画软件有哪些 编辑:程序博客网 时间:2024/06/01 07:58
@RequestMapping(value = "/desktop_icons") public void desktopIcons(ModelMap model, HttpServletRequest request, HttpServletResponse response) throws IOException { String templateContent = "[InternetShortcut]" + "\r\n" + "URL= http://www.xxxx.com" + "\r\n" + "IconIndex=1" + "\r\n" + "IconFile=http://www.xxxx.com/favicon.ico\r\n"; PrintWriter outa =response.getWriter(); String file = java.net.URLEncoder.encode("百度.url","UTF-8"); response.addHeader("Content-Disposition","attachment;filename="+file); StringBuffer bf=new StringBuffer(); bf.append(templateContent); bf.append("IDList=\r\n"); bf.append("[{000214A0-0000-0000-C000-000000000046}]\r\n"); bf.append("Prop3=19,2\r\n"); outa.write(bf.toString()); outa.flush(); outa.close(); }
0 0
- java创建桌面快捷方式
- JAVA创建桌面快捷方式
- 创建锁定桌面快捷方式
- 创建桌面快捷方式
- 创建linux桌面快捷方式
- 如何创建桌面快捷方式
- DELPHI创建桌面快捷方式
- WinCE创建桌面快捷方式
- wince创建桌面快捷方式
- ubuntu 创建桌面快捷方式
- C++创建桌面快捷方式
- 创建桌面快捷方式
- 桌面快捷方式的创建
- linux创建桌面快捷方式
- Ubuntu创建桌面快捷方式
- python 创建桌面快捷方式
- 创建桌面快捷方式
- vc 创建桌面快捷方式
- 五、无线信息传递——通过ssid传递对hostapd传输方式的具体说明
- MP4文件Boxes的层次结构
- ubuntu pip install pysqlcipher
- C----extern,static,typedef,const
- iOS 定时器
- JAVA创建桌面快捷方式
- parse error unspported class file version error 52.0
- cocos2d-x中的精灵
- 实时监听输入框值变化的完美方案:oninput & onpropertychange
- 代码优化经历(一)
- FFMPEG AVRational
- 【TCP/IP】IP地址详解(网关、分类、网段)
- 判断js中对象的类型
- 高手教大家如何配置JVM参数