Tag: 窗口

用命令行解压.jar文件

我试图从.jar文件中提取文件。 我如何使用命令行来做到这一点? 我正在运行Windows 7

使用通配符删除多个文件

你知道,在Linux中很容易,但我不能理解如何在Windows上使用C#。 我想删除所有匹配通配符f*.txt 。 我该如何去做呢?

从Cygwin使用Windows Python

我最近在Windows上使用Cygwin。 我想使用Python的Windows安装,所以在testing期间我使用/cygdrive/c/Python26/python.exe myfile.py而不是python myfile.exe 。 除了打印,这几乎是完美的。 当我从Cygwin运行Windows Python时,输出不会打印,直到执行完成。 它可以在explorer.exe或cmd.exe的Windows Python中正常运行,它可以在使用Cygwin安装的Python( /bin/python.exe )的Cygwin中运行。 有没有解决方法? 重要的是能够运行Windows版本,但是我想用Bash来完成。

System.Security.SecurityException:未find源,但是部分或全部事件日志无法search。 无法访问的日志:安全

我试图创build一个Windows服务,但是当我尝试安装它,它回滚给我这个错误: System.Security.SecurityException:未find源,但是部分或全部事件日志无法search。 无法访问的日志:安全。 我不知道这意味着什么 – 我的应用程序是最低限度的,因为我只是先testing一下。 我的安装员代码: namespace WindowsService1 { [RunInstaller(true)] public partial class ProjectInstaller : System.Configuration.Install.Installer { public ProjectInstaller() { //set the privileges processInstaller.Account = ServiceAccount.LocalSystem; processInstaller.Username = null; processInstaller.Password = null; serviceInstaller.DisplayName = "My Service"; serviceInstaller.StartType = ServiceStartMode.Manual; //must be the same as what was set in Program's constructor serviceInstaller.ServiceName = "My Service"; […]

在IE中删除一个窗口属性

我在这个问题上找不到任何信息; 为什么下面的代码不能在IE中使用? window.x = 45; delete window.x; // or delete window['x']; IE报告一个“对象不支持这个动作”的错误。 这与IE浏览器窗口属性的迭代有什么关系?

Gacutil.exe成功添加程序集,但程序集不能在资源pipe理器中查看。 为什么?

我正在从Visual Studio命令提示符2010中运行GacUtil.exe来向GAC注册dll(CatalogPromotion.dll)。 运行该实用程序后,它说Assembly Successfully added to the cache ,并运行gacutil /l CatalogPromotionDll显示GAC包含程序集,但是当我从Windows资源pipe理器导航到C:\ WINDOWS \程序集时看不到程序集。 为什么我不能从Windows资源pipe理器中的WINDOWS \ assembly中看到程序集,但是我可以使用gacutil.exe来查看它? 背景:下面是我在VS工具的命令提示符中input的内容: C:\ _ Dev Projects \ VS Projects \ bmccormack \ CatalogPromotion \ CatalogPromotionDll \ bin \ Debug> gacutil / i CatalogPromotionDll.dll Microsoft(R).NET全局程序集caching实用程序。 版本4.0.30319.1 版权所有(c)微软公司。 版权所有。 程序集成功添加到caching C:\ _ Dev Projects \ VS Projects \ bmccormack \ CatalogPromotion \ […]

Windows上的Mono有什么意义?

这可能是一个愚蠢的问题…但我只是看着Mono项目,他们有一个关于在Windows上安装Mono的部分。 但是,由于Windows显然已经有了.NET运行时,任何人都可以告诉我,具有Mono for Windows的意义何在? 它有助于跨平台开发什么的?

何时使用window.opener / window.parent / window.top

在JavaScript中何时使用window.opener / window.parent / window.top ?

写入Windows应用程序事件日志,无需注册事件源

有没有办法写这个事件日志: 或者至less,一些其他的Windows默认日志, 我不需要注册一个事件源 ?

停止node.js服务器的所有实例

这是我第一次使用Node.js,遇到了这个问题: 我已经通过IDE的插件启动了一个Node服务器。 不幸的是,我不能使用IDE的terminal。 所以我试图从命令行运行脚本。 这是问题 – 我正在使用Express模块​​,我的应用正在监听某个端口(8080)。 当我从命令行启动应用程序时,会引发此错误: events.js:71 throw arguments[1]; // Unhandled 'error' event ^ Error: listen EADDRINUSE at errnoException (net.js:770:11) at HTTPServer.Server._listen2 (net.js:910:14) at listen (net.js:937:10) at HTTPServer.Server.listen (net.js:986:5) at Object.<anonymous> (C:\xampp\htdocs\node\chat\app.js:5:5) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.runMain (module.js:492:10) 即使我不是很确定这个错误可能是什么,我认为这是因为该应用程序正在监听已经在使用的端口。 所以我做了: netstat -an 我可以看到 TCP […]