explorer

Open Explorer window from Website

你离开我真会死。 提交于 2019-12-04 14:56:47
My company has a shared network folder for projects. This folder contains a sub-folder for each of our clients. Each sub-folder contains all the information for the projects done for those clients. Makes sense, yea? OK. I have been given a task: When in our company's MS CRM and viewing a client account, allow the user to click a button that will open explorer to the project folder for that account. Sounds easy. Did a bit of hunting online. This looks nice: http://blogs.msdn.com/crm/archive/2007/04/18/integrating-windows-explorer-files-and-folders-into-crm-tabs.aspx It's funky, but it goes

Closing All Explorer Windows in PowerShell

China☆狼群 提交于 2019-12-04 11:18:05
I am writing the following code to close all explorer windows with PowerShell: (New-Object -comObject Shell.Application).Windows() | ? { $_.FullName -ne $null} | ? { $_.FullName.toLower().Endswith('\explorer.exe') } | % { $_.Quit() } But it does not close out all the open windows. Instead, it closes only RoundDown(N/2)+1 windows, and leaves RoundUp(N/2)-1 windows open. Can anyone help with this? I think there's something in the pipeline that goes wrong. This code works: $a = (New-Object -comObject Shell.Application).Windows() | ? { $_.FullName -ne $null} | ? { $_.FullName.toLower().Endswith('

Open Windows Explorer directory, select a specific file (in Delphi)

泪湿孤枕 提交于 2019-12-04 08:30:44
问题 I have a procedure to open a folder in Windows Explorer that gets passed a directory path: procedure TfrmAbout.ShowFolder(strFolder: string); begin ShellExecute(Application.Handle,PChar('explore'),PChar(strFolder),nil,nil,SW_SHOWNORMAL); end; Is there a way to also pass this a file name (either the full file name path or just the name + extension) and have the folder open in Windows Explorer but also be highlighted/selected? The location I am going to has many files and I need to then

SVN图标不显示问题

扶醉桌前 提交于 2019-12-04 08:16:44
文章来源: https://blog.csdn.net/wngpenghao/article/details/82823809 win10下SVN图标不显示 2018-09-23 18:33:59 滴水可藏海 阅读数 4450 更多 分类专栏: 学到了 Windows10 TortoiseSVN 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 本文链接: https://blog.csdn.net/wngpenghao/article/details/82823809 win10系统的SVN图标不现实了。正常情况下,会在文件夹上有一个对勾 但是对勾以及所有的SVN图标都突然消失了,都不知道文件什么状态了。 经过一通搜索,发现问题所在(都指向注册表图标被占用)。原因就是SVN的图标的排位顺序排在下面去了,导致其它图标占用了它的位置,也就是需要把Tortoise的位置提到上面来。 1、win+R 打开运行,输入regedit,打开注册编辑表。 2、找到SVN路径。 计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\ 将Tortoise 1~9的前面都加个空格(F2重命名,

Path with no slash after drive letter and colon - what does it point to?

好久不见. 提交于 2019-12-04 06:11:20
I have mistyped a path and instead of c:\foo.txt wrote c:foo.txt . I expected it to either fail or to resolve to c:\foo.txt , but instead it seems to be resolved to foo.txt in a current user's home folder. Powershell returns: PS C:\> [System.IO.Path]::GetFullPath("c:\foo.txt") c:\foo.txt PS C:\> [System.IO.Path]::GetFullPath("c:foo.txt") C:\Users\Administrator\foo.txt PS C:\> [System.IO.Path]::GetFullPath("g:foo.txt") G:\foo.txt Running explorer.exe from commandline and passing it any of the above results in C:\Users\Administrator\Documents to be opened. I haven't found any documentation of

IE兼容性之杂项(Quirks)模式

会有一股神秘感。 提交于 2019-12-04 02:29:51
此文转载,记录下遇到的问题,暂时没有仔细考究。 IE=EmulateIE7 标签的作用 对于 Web 开发人员来说,文本兼容性是一个要考虑的重要问题。Windows Internet Explorer 8 引入了文本兼容性模式,该模式允许 Web 开发人员将浏览器设置为以与旧版本相同的方式显示网页,从而允许开发人员选择更新时间。 本文档将介绍由 Windows Internet Explorer 8 支持的文本兼容性模式,以及如何使用自定义标头基于每个页面或每个站点实现这些模式。实现适当的兼容性模式后,可以确保站点与 Windows Internet Explorer 8 及更高版本兼容。 各种兼容性模式 Windows Internet Explorer 8 支持多种兼容性模式,它们可启用不同的受支持的功能,并影响内容的呈现方式。例如, IE5 模式呈现内容时,像是使用了 Windows Internet Explorer 7 的 Quirks 模式,这与 Windows Internet Explorer 5 显示内容的方式很相似。 IE7 模式呈现内容时,无论页面是否包含 <!DOCTYPE> 指令,都像是使用了 Windows Internet Explorer 7 的标准模式。 EmulateIE7 模式通知 Windows Internet Explorer 使用 <

Process.Start() not starting the .exe file (works when run manually)

五迷三道 提交于 2019-12-04 01:38:28
I have an .exe file that needs to be run after I create a file. The file is successfully created and I am using the following code to run the .exe file after that: ProcessStartInfo processInfo = new ProcessStartInfo(); processInfo.FileName = pathToMyExe; processInfo.ErrorDialog = true; processInfo.UseShellExecute = false; processInfo.RedirectStandardOutput = true; processInfo.RedirectStandardError = true; Process proc = Process.Start(processInfo); I also tried with a simple Process.Start(pathToMyExe); but the .exe file is not run. When I try pathToMyExe manually on my Windows Explorer the

Restarting explorer.exe only opens an explorer window

南笙酒味 提交于 2019-12-03 22:16:18
The Problem In one part of a batch file (kind of, see Extra Information) I need to restart Explorer, so I use the, tried-and-tested method of taskkill /f /im explorer.exe >nul explorer.exe Then this happens explorer.exe is successfully terminated explorer.exe is started (see Image 2), but only an Explorer window opens, which I am left with indefinitely (see Image 1) I can then only properly restart Explorer by starting a new task from Task Manager, as, I'm assuming, Win + R is part of Explorer. Extra Information Now, I say "kind of" as I'm running the batch file from a self-executing SFX

Monitor file selection in explorer (like clipboard monitoring) in C#

孤街醉人 提交于 2019-12-03 21:45:49
I am trying to create a little helper application, one scenario is "file duplication finder". What I want to do is this: I start my C# .NET app, it gives me an empty list. Start the normal windows explorer, select a file in some folder The C# app tells me stuff about this file (e.g. duplicates) How can I monitor the currently selected file in the "normal" windows explorer instance. Do I have to start the instance using .NET to have a handle of the process. Do I need a handle, or is there some "global hook" I can monitor inside C#. Its a little bit like monitoring the clipboard, but not exactly

Samsung My Files explorer: Pick file from specified folder

感情迁移 提交于 2019-12-03 14:25:21
问题 I'm using the following code to open Samsung's My Files application to pick a file... public void openFileBrowser( ) { Intent intent = new Intent( "com.sec.android.app.myfiles.PICK_DATA" ); try { startActivityForResult( intent, PICKFILE_RESULT_CODE ); } catch ( ActivityNotFoundException e ) { e.printStackTrace( ); Log.log( Log.ERROR, TAG + "MyFiles is not installed !!" ); } } this opens My Files application and lets user choose a file through it. However, I wish to open a particular folder on