摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Runtime.InteropServices;using System.Diagnostics;namespace fasta2011{ public class Cmd { private const byte VK_LWIN ... 阅读全文
posted @ 2011-11-18 14:11 心_远 阅读(197) 评论(0) 推荐(0) 编辑
摘要: using System.Runtime.InteropServices;[DllImport("Shell32.dll", EntryPoint = "#61", CharSet = CharSet.Ansi)][return: MarshalAs(UnmanagedType.I1)]public static extern bool SHRunFileDialog(IntPtr hWnd, IntPtr hIcon, [Ma... 阅读全文
posted @ 2011-11-18 13:38 心_远 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1. gpedit.msc-----组策略2. sndrec32-------录音机3. Nslookup-------IP地址侦测器4. explorer-------打开资源管理器5. logoff---------注销命令6. tsshutdn-------60秒倒计时关机命令7. lusrmgr.msc----本机用户和组8. services.msc---本地服务设置9. oobe/msoobe /a----检查XP是否激活10. notepad--------打开记事本11. cleanmgr-------垃圾整理12. net start messenger----开始信使服务1 阅读全文
posted @ 2011-11-18 13:22 心_远 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 问:怎么才能关掉一个用任务管理器关不了的进程?我前段时间发现我的机子里多了一个进程,只要开机就在,我用任务管理器却怎么关也关不了答1:杀进程很容易,随便找个工具都行。比如IceSword。关键是找到这个进程的启动方式,不然下次重启它又出来了。顺便教大家一招狠的。其实用Windows自带的工具就能杀大部分进程: c:>ntsd -c q -p PID 只有System、SMSS.EXE和CSRSS.EXE不能杀。前两个是纯内核态的,最后那个是Win32子系统,ntsd本身需要它。ntsd从 2000开始就是系统自带的用户态调试工具。被调试器附着(attach)的进程会随调试器一起退出,所以 阅读全文
posted @ 2011-11-18 10:14 心_远 阅读(227) 评论(0) 推荐(0) 编辑