explorer

How to use java code to open Windows file explorer and highlight the specified file?

折月煮酒 提交于 2019-11-30 06:19:09
问题 I am now using java Desktop API to manipulate file explorer. I know how to open the file explorer but I don't know how to open it and highlight the specified file. As we using the Chrome, after downloading files, we can choose "show in folder" to open the file explorer and highlight the downloaded file. How to use java Desktop API to do so? Or is there any other API in java can realize this action? 回答1: Use: Runtime.getRuntime().exec("explorer.exe /select," + path); This also works if there

显示隐藏文件.reg

♀尐吖头ヾ 提交于 2019-11-30 05:17:07
显示隐藏文件.reg Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "ShowSuperHidden"=dword:00000001 "Hidden"=dword:00000001 "HideFileExt"=dword:00000000 显示隐藏文件.bat @echo off reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 1 /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f 来源: https://www.cnblogs.com

Is there an edit control for Delphi that allows path editing?

邮差的信 提交于 2019-11-30 05:12:51
I have various hierarchical structures and would like to allow navigation around then using an editor like the Microsoft one found in the explorer address bar below. Is there such a Delphi component? (Paid for or free)? TAdvExplorerTreeview from TMS might be what your looking for: http://www.tmssoftware.com/site/advexptree.asp Linas Haven't tried by myself but Roy Klever's PathViewer component looks quite interesting. I have spent the morning writing such a control. Actually, I wrote a very generic, completely virtual base control, from which I later derived a directory browser control: The

HTML5介绍

╄→尐↘猪︶ㄣ 提交于 2019-11-29 16:31:28
HTML5介绍 H5的特点 1)更简洁、但是在实际开发中要注意书写规范,利于后期维护 2)标签的语义化 扩展:语义化的重要性: ① 当页面加载失败的时候,还能够呈现出清晰的结构 ② 有利于SEO优化,利于被搜索引擎收录(即便于网络爬虫的识别) ③ 在项目开发及维护时,语义化的也很大程度上降低开发难度,节省成本 和新结构标签的区别和意义 3)语法更宽松 4)多设备跨平台 5)自适应网页设计 4、H5新增加的语义化标签 <header> 头标签 <nav>导航标签 <section> 章节、页眉、栏目 <article> 文章标签 <aside> 侧边栏导航 <footer> 页脚 1)section 表示内容区块,一般入章节、页眉、页脚或者页面中的其他部分。可以与h1-h6等元素结合起来使用,标示文档的结构 2)article 表示页面中的一块与上下文不相关的独立内容,譬如博客中的一篇文章或者报纸中的一篇文章 3)aside Aside表示acticle元素的内容之外的,与article元素的内容相关的辅助信息。 4)header 表示页面中一个内容区块或者整个页面的标题 5)footer 表示整个页面或者页面中的一个内容区块的脚注。一般来说,他会包含创作者的姓名、创作日期以及创作者联系信息。 6)nav 表示页面中导航链接的部分、① 传统的导航条 ② 腾讯新闻 ③侧边栏导航

When I create views from Clearcase explorer, both development and the integration views get created as snapshot

本秂侑毒 提交于 2019-11-29 16:29:29
I do not get the option at all to choose for the views to be snapshot or dynamic. What I would want is the development view to be snapshot and the integration view to be dynamic. Why is it that I am not prompted to let me choose my views to be snapshot/dynamic? VonC May be you have ClearCase LT , which only provides snapshot view ? As mentioned in the ClearCase mkview help page : Specifying the kind of view Default ClearCase: Dynamic view. ClearCase LT: Snapshot view Anyway, you can try to create your views through command line cleartool : Snapshot: cleartool mkview -snap -tag yourView_snap

How to add a menu item (in right click menu) to explorer for all files (*.*)?

北城以北 提交于 2019-11-29 16:25:27
When Winrar installed, and user right click on a file, a new mune item exists: "Add to Archive..." How can do like this for my application? This can be done by adding a shortcut (context) menu handler. A static handler by setting it up in registry Or, a fully featured dynamic handler , which is a COM object implementing necessary interfaces to advertise verbs and handle their invocations See also: Choosing a Static or Dynamic Shortcut Menu Method The Complete Idiot's Guide to Writing Shell Extensions - Part I on CodeProject You register under * . 来源: https://stackoverflow.com/questions/7696736

How extend Windows 8 Explorer Ribbon with custom controls?

北城以北 提交于 2019-11-29 04:26:34
As example, I want make simple resizer, where you can select image in explorer and set new dimensions. It is not possible to modify the Windows Explorer 8 ribbon. However, add-ins will not be able to plug into the ribbon UI. This was a difficult engineering choice for us and we expect that many of you will read this and suggest we add the capability--of course if we could get it right this time around we would have done that. A big part of this blog is sharing these choices--tradeoffs--between new features and adding everything we can dream up and finishing. We also think the customization we

Is there an edit control for Delphi that allows path editing?

爷,独闯天下 提交于 2019-11-29 03:07:35
问题 I have various hierarchical structures and would like to allow navigation around then using an editor like the Microsoft one found in the explorer address bar below. Is there such a Delphi component? (Paid for or free)? 回答1: TAdvExplorerTreeview from TMS might be what your looking for: http://www.tmssoftware.com/site/advexptree.asp 回答2: Haven't tried by myself but Roy Klever's PathViewer component looks quite interesting. 回答3: I have spent the morning writing such a control. Actually, I wrote

How to use java code to open Windows file explorer and highlight the specified file?

孤街醉人 提交于 2019-11-28 17:12:41
I am now using java Desktop API to manipulate file explorer. I know how to open the file explorer but I don't know how to open it and highlight the specified file. As we using the Chrome, after downloading files, we can choose "show in folder" to open the file explorer and highlight the downloaded file. How to use java Desktop API to do so? Or is there any other API in java can realize this action? Use: Runtime.getRuntime().exec("explorer.exe /select," + path); This also works if there is a space in the PATH . The Desktop API does not support this. You are going to have to use ProcessBuilder

Pyinstaller setting icon

帅比萌擦擦* 提交于 2019-11-28 16:53:23
I use command that: pyinstaller.exe --icon=test.ico -F --noconsole test.py All icons do not change to test.ico Some icons remain default(pyinstaller) icon... Why? all icon change OS -> windows 7 32bit, windows 7 64bit(make exe file OS) remain default icon OS -> windows 7 64bit(other PC) I know this is old and whatnot (and not exactly sure if it's a question), but after searching, I had success with this command for --onefile : pyinstaller.exe --onefile --windowed --icon=app.ico app.py Google led me to this page while I was searching for an answer on how to set an icon for my .exe, so maybe it