问题标签 [windows-explorer]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
4 回答
1516 浏览

c - 确定 explorer.exe 是否作为 Windows shell 运行?

我需要确保它explorer.exe作为系统外壳运行。我需要做的是:

  • Winlogon\Shell用_explorer.exe
  • 运行explorer.exe(作为外壳)
  • 用我自己的 shell 覆盖当前 shell。

最后两步之间是一场比赛:

  • 如果我用自己的 shell 过快地覆盖当前 shell,则只会打开“我的文档”窗口。

所以问题是,是否有任何事件/互斥体/回调我可以调用以确保资源管理器被初始化为 shell?

我设法做的最好的事情是等待托盘窗口,例如:

看起来有点草率,有没有更好的方法?

0 投票
2 回答
2634 浏览

debugging - 调试崩溃的 explorer.exe 的最佳方法是什么?

我为一个在内部运行自定义构建的 Access/SQL 应用程序的组织工作。我们有一个问题 Explorer.exe 引发错误并崩溃。

这是崩溃的图片: 替代文字

开始跟踪此问题并找到解决方案的最佳方法是什么?

0 投票
4 回答
2707 浏览

delphi - 如何判断 Windows 任务栏的“自动隐藏”是否启用?

如果 Windows 资源管理器任务栏设置为自动隐藏,我如何通过 Delphi 程序判断?

0 投票
1 回答
1499 浏览

c# - FileInfo 对象属性问题 - C#?

以下System.IO.FileInfo属性是否映射到 Windows 资源管理器应用程序中的以下属性:

  • CreationTime = 创建日期
  • LastWriteTime = 修改日期
  • LastAccessTime = 访问日期
0 投票
3 回答
4305 浏览

visual-studio-2008 - 允许从 Windows 资源管理器拖放到 Visual Studio 2008

有什么方法可以让 Visual Studio 2008 接受来自 Windows 资源管理器的删除文件?

我数不清有多少次我本能地将文件拖入 VS 只是为了提醒这个明显的功能而不是似乎缺少的功能。

当然,必须有某种方法来做到这一点。


编辑

我在寻找答案时确实找到了VS Explorer插件。我喜欢它,但是从资源管理器中拖放仍然很好。


编辑二

为了澄清,我希望能够通过删除项目/解决方案和单个文件(xml、.c、.cpp 等)来打开它们。就像现在一样,我有一个我想在 VS 中查看的 XML 文件。我打开了我的项目,但我无法将 XML 文件拖到 VS 中打开它。我必须归档...打开...

0 投票
1 回答
2179 浏览

windows-explorer - 如何为所有用户都可以使用的“SendTo”菜单添加快捷方式

您可以通过在用户配置文件文件夹中包含的 SendTo 文件夹中创建应用程序快捷方式,例如 C:\Documents and Settings\Username\SendTo\,将新项目添加到“发送到”Windows 资源管理器菜单

但是,如何添加一个可供所有用户使用的“发送至”菜单项,而无需将其添加到每个用户的个人资料文件夹中?

我发现一页建议您可以在 C:\Documents and Settings\All Users 中创建一个 SendTo 文件夹,但该文章针对的是 Windows 2000,并且似乎不适用于 Windows XP。

0 投票
5 回答
29793 浏览

c# - C#: How to open Windows Explorer windows with a number of files selected

In the Library of Windows Media Player you can select one or more music files. You can then right-click and in their context menu choose Open File Location. This will open up one windows explorer window for each directory that the files are in, and the files will be selected for you.

So let's say we have a bunch of mp3 files in our library where three of them are these:

  • Z:\Music\Thursday Blues\01. I wish it was friday.mp3
  • Z:\Music\Counting Sheep\01. Sheep #1.mp3
  • Z:\Music\Counting Sheep\02. Sheep #2.mp3

If we select those three (in a view where all of them are visible) and do Open File Location then two explorer windows will pop up. One will be the Z:\Music\Thursday Blues folder with 01. I wish it was friday.mp3 selected, and the other one will be the *Z:\Music\Counting Sheep** folder with both 01. Sheep #1.mp3 and 02. Sheep #2.mp3 selected.

How can I do this myself in C#? We have an application which is going to export data to various formats, for example CSV and Excel, and I would like to open up explorer windows with these files selected when they are created and ready to be viewed. Currently I just do Process.Start(path), and this works but I would love to be able to highlight those particular files as well. Would make the files that were just created much more obvious.


Windows Media Player does it so well... I want to do it too =/ Are there any Microsoft employees here that could figure out how it can be done? (A)

0 投票
3 回答
625 浏览

windows - 如何防止 Windows 资源管理器干扰删除文件夹?

我有一个删除文件夹及其中所有内容的例程。删除所有文件后,它做的最后一件事是:

不幸的是,如果我在 Windows 资源管理器中有一个显示文件夹的打开窗口,我往往会因此而出错。错误说文件夹不为空,这是不正确的。有什么办法可以覆盖它,也许是强制关闭窗口?

以防万一,我使用的是 Vista Home Premium 64。

0 投票
1 回答
2126 浏览

vba - 使用 VBA,如何在 Windows 资源管理器中检查已知文件类型的文件扩展名是否隐藏?

无需打开 Windows 资源管理器。我想从 Word VBA 中检查这一点。

谢谢。

编辑:

此代码现在有效:

0 投票
3 回答
1486 浏览

icons - 有没有办法让 ClearCase 在 Windows 资源管理器中显示图标来表示文件/目录的状态?

例如,在 TortoiseSVN 中,我可以通过查看目录图标一角的图像来找出目录何时过期或签出。但是,ClearCase 没有。在 Eclipse 中,我可以看到我签入/签出的内容,但我并不总是在 Eclipse 中。看来我可以右键单击该文件,如果文件未签出,我将看到“签出...”作为选项,如果文件签出,则将“签入...”作为选项。

我真正想要的是图像或图标,让我直观地了解我通过 Windows 资源管理器 shell 签入和签出的内容。这可能吗?