explorer

Windows 7 Explorer cannot sort files alphabetically

情到浓时终转凉″ 提交于 2019-12-01 15:31:28
I use sort by + name, and explorer cannot sort my files by name. How can they screw up something so easy? Is there any magic registry way to do this, here is the explorer output and dir output. I want the dir version of course. Windows 7's sort is an absolute joke. The rubbish above about natural sorting is no excuse - I don't know anyone who would naturally sort "Back to the Future 3" before "Back to the Future" for example, and other languages existed pre Windows 7. The fix can be found here: http://www.alliancegroup.co.uk/windows7-explorer-sort-order.htm And in case the link dies: Type

Assigning keyboard shortcut to get path of selected item in windows explorer

空扰寡人 提交于 2019-12-01 13:47:13
I don't know if this is even possible, but how can I bind some key combination to a (C#)program, so that when that keyboard shortcut is pressed with some file selected in windows explorer, it calls specific function with path of that file as a parameter. Or can I assign some keyboard shortcut so that windows explorer opens selected file in my program(that way I could pass the path to already running instance) thanks BenV You could modify your program to run as a shell extension which would add an item for your program to the right-click menu in windows explorer, but apparently coding shell

任务栏项目修改隐藏禁用

ぐ巨炮叔叔 提交于 2019-12-01 13:05:23
搜索框样式 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search SearchboxTaskbarMode (类型:REG_DWORD)0 为隐藏,1 为显示图标,2 为默认显示搜索框 小娜Cortana按钮 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced ShowCortanaButton(类型:REG_DWORD)0 为隐藏,1 为默认显示 任务视图按钮 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced ShowTaskViewButton(类型:REG_DWORD)0 为隐藏,1 为默认显示 人脉按钮 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People PeopleBand(类型:REG_DWORD)0 为隐藏,1 为默认显示 隐藏系统托盘图标 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion

Explorer Integration in the Context Menu but using the already running instance

蹲街弑〆低调 提交于 2019-12-01 11:19:00
I want to check for the existence and if it doesn't exist add some actions in the Explorer's right click (context) menu. Besides of the above requirement (for which one can find easily solutions on web) I want to add one more: Suppose that I register the following commands: "Command #1" - triggers 'C:\MyProg.exe /cmd1' "Command #2" - triggers 'C:\MyProg.exe /cmd2' ... (aso.) How do I check if there is already a running instance of MyProg.exe and passing it the appropriate command/command line parameter together with the filename on which the user clicked? (IOW, I want to use the already

一、先来好好认识下Javascript

孤街浪徒 提交于 2019-12-01 06:18:32
让 时 光 穿 梭 回 到1995 年 ,javascript 这 个 小 老 弟 诞 生 了 , 哈 哈 因 为 他 比 我 小 一 岁 , 所 以 亲 切 的 称 他 为 小 老 弟 , 是 由 当 时 走 在 技 术 革 新 最 前 沿 的Netscape 公 司 开 发 的 , 最 初 他 来 到 这 个 世 上 的 主 要 任 务 是 处 理 以 前 由 服 务 端 语 言 负 责 的 一 些 输 入 验 证 。 因 为javascript 问 世 之 前 , 必 须 将 表 单 数 据 发 送 到 服 务 器 端 才 能 确 定 一 些 诸 如 用 户 是 否 没 有 填 写 某 个 必 填 域 类 似 的 问 题 , 而 那 个 时 候 绝 大 多 数 因 特 网 用 户 都 是 用 速 度 仅 为28.8kbit/s 的“ 猫” 上 网, 想 象 一 下 用 户 填 写 完 一 个 表 单 , 单 击“ 提 交” 按 钮 , 然 后 等 待30 秒 钟 , 最 终 服 务 器 返 回 消 息 说 有 一 个 必 填 字 段 没 有 填 好.... 因 此 能 够 在 客 户 端 完 成 一 些 基 本 的 验 证 任 务 绝 对 是 令 人 兴 奋 的 。 于 是 由 就 职 于Netscape 公 司 的 布 兰 登· 艾 奇 负 责 为Netscape

Why are icons in property sheets rendered with so few colors?

感情迁移 提交于 2019-12-01 05:54:48
问题 I am creating a property sheet shell extension and want to have a little icon to set off my property tab from the standard system tabs. Unfortunately, my icon is being rendered almost entirely in grey. Original image: In the property sheet tab: At first I thought this was somehow my problem, but then I saw that TortoiseSVN appears to have the same problem: This happens in both Windows 7 and Windows 8. Does anyone know why these images are appearing so muted? Also, does anyone have any hints

NameSpace Shell 命名空间扩展

一世执手 提交于 2019-12-01 01:50:57
即 Windows 下的命名空间扩展 命名空间扩展 一种允许将外部自定义的信息集成到windows资源管理器,以用户自定义显示方式来处理数据信息,资源管理器提供必要的控制、交互接口、GUI实现。 实现命名空间扩展 一个文件件管理器对象,用于请求其其需要的信息 一个显示文件夹内容的视图窗口 一个枚举文件夹内的项目的枚举对象 一个表征文件夹对象的标识ID 一系列可定制用户GUI的访问函数 一般流程 命名空间扩展和shell扩展几乎一样,都要被注册安装,被检测、被调用,都属于进程里COM服务实现,实现一系列的接口来定制Shell;不同点:前者主要是针对Explorer的添加一个虚拟文件夹,后者则是限制于文件类型。 资源管理器扫描注册表来安装组件并建立和他们的连接通信,无论是你自己实现或是系统自带的; 资源管理器探测到当前存在的命名空间扩展,它便加载该COM服务对象(调用IShellFolder的一些接口实现); IShellFolder作为一个文件夹管理器,并提供给资源管理器需要的任何东西,也即是充当资源管理器和扩展的其他部分之间的代理对象; 当Explorer需要显示一个视图内容时,Explorer将请求IShellFolder一个视图对象,同样的,当显示树形视图的节点时,其将请求枚举文件夹对象和子文件夹的属性内容;这些几乎均通过IShellFolder接口来完成;

IE浏览器远程代码执行漏洞(CVE-2019-1367)

我与影子孤独终老i 提交于 2019-11-30 12:28:09
【漏洞预警】IE浏览器远程代码执行漏洞(CVE-2019-1367)预警通告 预警编号:NS-2019-0042 2019-09-24 TAG: IE、远程代码执行、CVE-2019-1367 漏洞危害: 高, 攻击者利用此漏洞,可造成远程代码执行。 版本: 1.0 1 漏洞概述 当地时间 9月 23 日,微软官方发布了一则“IE浏览器累积安全更新”,修复了Internet Explorer中的一个远程代码执行漏洞(CVE-2019-1367)。该漏洞存在于脚本引擎处理IE内存对象的过程中,攻击者可利用此漏洞制定恶意网站,当受害者使用IE访问该网站即可执行任意代码,从而获取系统控制权。 目前微软官方已经发布修复补丁,请相关用户及时进行更新。 参考链接: https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-1367 https://support.microsoft.com/zh-cn/help/4522007/cumulative-security-update-for-internet-explorer 2 影响范围 受影响版本 Internet Explorer 9 Internet Explorer 10 Internet Explorer 11 3漏洞防护 3.1 官方补丁

怎样才能防止木马入侵的防范

杀马特。学长 韩版系。学妹 提交于 2019-11-30 11:55:05
VBR全称Volume Boot Record(卷引导记录),负责操作系统引导程序的加载,比Windows更早启动。一旦VBR被木马感染,恶意代码会获得隐蔽生存的空间,难以被传统杀毒软件检测到。 此前,国内曾多次出现鬼影、暗云等MBR(主引导记录)木马,杀毒软件对MBR的检测和防范已经非常重视,VBR则称为木马重点攻击的又一个目标。 1、百毒不侵,权限这样设 我们知道病毒等恶意程序经常把自己隐藏在windows(反健设置权限)系统目录中,如果对他的权限进行下设置,能够防止绝大部分的病毒。 首先,确定你的系统目录没有任何病毒;右键单击c:windows-属性-安全,删除administrators和system以外的所有用户组,然后再去掉administrators和system的“完全控制”“修改“写入”这三个勾选,确定。按照相同的方法设置c:windowssystem32目录。 这样当有病毒向系统写入病毒时会因为没有足够权限而无法写入。当然这样在安装某些程序时也会不能成功安装,需要你手动把administrators和system的完全控制权限再次赋予才能够实现,安装完毕后再把权限改回来就可以了。 我们先来做个实验,就拿菜鸟的最爱 灰鸽子 来实验下把。现在可以上线,下面我们来按照上面的配置下系统看看还能不能上线。大家看到了把,不能上线了。 2、防止病毒捆绑常用程序

@cc_on

不羁岁月 提交于 2019-11-30 08:29:55
<script>/*@cc_on window.location.href="http://support.dmeng.net/upgrade-your-browser.html?referrer="+encodeURIComponent(window.location.href); @*/</script> 起因: 做前端开发,为了对付低端的浏览器,而W3C标准浏览器会直接把这些代码当作注释, 大家都愿意这样分: 低级浏览器和高级浏览器 当然有很多办法可以区分: UA、属性检测等等... 除了这个以外也可以使用微软提供的 @cc_on 这个诡异的语法 参考: https://msdn.microsoft.com/library/8ka90k2e Internet Explorer条件编译英文名叫Internet Explorer Javascript conditional compilation,IE的javascript又叫JScript,所以又叫Internet Explorer JScript conditional compilation,它和IE的条件注释(Internet Explorer conditional comments)类似,只是条件注释是HTML注释,无法在JS代码中使用。 Internet