摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1Code 2//这篇文章包含web上对windows用户上的一些操作,同样适用在Winform上。做个标记,要用的时候再来拿 3using System; 4usin... 阅读全文
posted @ 2007-08-31 06:10 Jim Gao 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1 class LogWriter 2 { 3 private static string path = Application.StartupPath +... 阅读全文
posted @ 2007-08-31 02:50 Jim Gao 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 在vista中,经常会弹出需要提升权限才能打开的窗口,哪怕你已经是管理员登陆,可以在注册表中设置EnableLUA设置为0禁用UAC。具体在HKLM-Software-Microsoft-Windows-CurrentVersion-Policies-System下面文章来源:http://ejimgao.blog.163.com/blog/static/420300162007730117267... 阅读全文
posted @ 2007-08-30 11:07 Jim Gao 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 硬盘启动PE已经有很多文章写了,这里只是说一下要注意的问题。 如果把PE放在某一个文件夹,那么必须手动设定PE的targetpath到某一个目录才行 设定targetpath要用peimg工具,需要注意的是用peimg是指targetpath必须先prep一下文章来源:http://ejimgao.blog.163.com/blog/static/42030016200773011231900 阅读全文
posted @ 2007-08-30 11:03 Jim Gao 阅读(126) 评论(0) 推荐(0) 编辑
摘要: [LaunchApp]AppPath = %SYSTEMDRIVE%\myshell.exe[LaunchApps]%SYSTEMDRIVE%\mydir\application1.exe, -option1 -option2application2.exe, -option1 -option2 可以有上面两节中的一节或者两节。 第一节不一定是shell,但是不管是什么,不能带参数 第二节可以... 阅读全文
posted @ 2007-08-30 10:59 Jim Gao 阅读(527) 评论(0) 推荐(0) 编辑
摘要: Create an ImageX Configuration File ImageX is a command-line tool that enables the creation of image files for deployment in a manufacturing or corporate IT environment. You can create a configurat... 阅读全文
posted @ 2007-08-28 22:23 Jim Gao 阅读(423) 评论(0) 推荐(0) 编辑
摘要: Windows Vista - Demand UAC elevation for an application by adding a manifest using mt.exe Introduction Assume you're writing some application that really - I mean really really - needs administrati... 阅读全文
posted @ 2007-08-28 06:48 Jim Gao 阅读(461) 评论(0) 推荐(0) 编辑
摘要: To switch the specified adapter from a static address to DHCP, type the following command: netsh interface ip set address "Local Area Connection" dhcpNOTE: Typing this command changes the interface n... 阅读全文
posted @ 2007-08-27 23:56 Jim Gao 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 如果在使用bcdedit命令的时候,没有显示指定编辑哪一个store,那么bcdedit将默认编辑{current} store,如果{current}没有进行设置,必须指定所使用的store所在的路径,否则bcdedit并不知道你在编辑哪一个store。一般命令可能是这样: bcdedit -store c:\boot\bcd ... 如果要修复一个bcd的信息,那么一般会采用如下步骤: 1.查... 阅读全文
posted @ 2007-08-25 04:44 Jim Gao 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 格式化bootable U盘,进入diskpart,按如下操作:select disk 1 (假设你的U盘是disk 1)cleancreate partition primary (建立主分区)select partition 1active (激活,使之可启动)format fs=fat32 (格式化为FAT32系统)assignexit 安装WAIK后,进入命令winpe命令提示符 co... 阅读全文
posted @ 2007-08-25 04:11 Jim Gao 阅读(195) 评论(0) 推荐(0) 编辑