随笔分类 -  Windows

Windows
使用 WinSCP 下载 FTP 文件并用 计划任务 复制到 远程 共享目录
摘要:1:Sync the provider files from FTP server by using WinSCP Install the FTP syncing tool WinSCP. Create the WinSCP scripts. 2 :Create the Windows batch 阅读全文
posted @ 2022-12-16 22:37 zencorn 阅读(505) 评论(0) 推荐(0)
MySQL 存储配置
摘要: 阅读全文
posted @ 2015-08-14 13:36 zencorn 阅读(327) 评论(0) 推荐(0)
最方便的批处理延时方法
摘要:@echo offrem 4000=4s.echo wscript.sleep 4000>%tmp%\delay.vbs&&%tmp%\delay.vbs&&del /q %tmp%\delay.vbsecho hahahaSeeYoupause... 阅读全文
posted @ 2012-05-28 18:06 zencorn 阅读(227) 评论(0) 推荐(0)
Disable Windows server 2003 Security Warning.
摘要:Sometimesif you want to run one application from a network driver by the silence model , the Windows will pop up one dialog of security warning .Follow these steps to block this dialog.1. Click Start–>Run and type gpedit.msc. Click OK2. Go to User Configuration–>Administrative Templates–>Wi 阅读全文
posted @ 2012-01-09 17:52 zencorn 阅读(283) 评论(0) 推荐(0)
Package you execution files with Iexpress.exe
摘要:Work by Jianfei is licensed under a Creative Commons wei 3.0 Unported License If you using VS builded up a suite of project DLL files, and then want package them as an Exe file, Iexpress.exe should be a good tool for you needed.1. E.g. 2. Iexpress.exe it’s free and it support command line. It’s a W. 阅读全文
posted @ 2011-09-02 08:48 zencorn 阅读(282) 评论(0) 推荐(0)
Get user name from the web client in Active Directories. [ No using Page.user]
摘要:Usually we using the Page.User.Identity.Name to get the web client user name . But if we are in the Active Directores enviroment and try to do this will be failed. So we need to set the web server like show in below firstly.Now the web server will replace the ISUER_MachineName login model as window 阅读全文
posted @ 2011-04-14 14:56 zencorn 阅读(258) 评论(0) 推荐(0)
FTP 文件 循环 Copy
摘要:BatchFilecode@echooffrem指定FTP用户名setftpUser=FTPUSERNAMErem指定FTP密码setftpPass=FTPPASSWORDrem指定FTP服务器地址setftpIP=192.168.0.2rem指定待下载的文件位于FTP服务器的哪个目录setftpFolder=/SharedFile/Logrem指定从FTP下载下来的文件存放到本机哪个目录setLocalFolder=C:\tempsetftpFile=%temp%\TempFTP.txt>"%ftpFile%"(echo,%ftpUser%echo,%ftpPass 阅读全文
posted @ 2011-03-21 13:50 zencorn 阅读(713) 评论(0) 推荐(0)
Create SQL server job with SQL SERVER.
摘要:1. Make sure you SQL Server version by using some T-SQL .[代码]2. Right click SQL Server Agent node in SQL Management Studio, then create new SQL job, paste you T-SQL into command area.代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--declare@filename 阅读全文
posted @ 2010-12-17 14:17 zencorn 阅读(344) 评论(0) 推荐(0)
C# create Windows event logs by EventLog.
摘要:1. What's Windows event logs.A: MSDN event logs http://support.microsoft.com/kb/308427  Application log The application log contains events logged by programs. For example, a database program may reco... 阅读全文
posted @ 2010-11-25 14:32 zencorn 阅读(346) 评论(0) 推荐(0)
FTP 上传文件 命令
摘要:建立一个调用FTP命令的BAT file, autoftp.log 作为一个日志文件 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->echo==========================================>>autoftp.logdate/t>>autoftp.logtime/t>>autoftp.logftp-n-s:"upload.ftp">>aut 阅读全文
posted @ 2010-11-08 17:03 zencorn 阅读(333) 评论(0) 推荐(0)
解决 SQL Server Web Service is not configured.
摘要:1. 在给一个有问题的SQL Instance 配置它的 Report Service 时遇到下面的情况.2. 费时很久都没有解决这个问题,最后不得不重装一个实例来配置Report Service 做了一个work around. 阅读全文
posted @ 2010-06-23 16:06 zencorn 阅读(265) 评论(0) 推荐(0)
访问 远程机 盘符 设置
摘要:1. 有时使用.NET 编程访问远程机的硬盘时无法正常打开,如在运行里: \\机器名\e$ 的时候也无法打开此目录。2. 解决方案如图。 阅读全文
posted @ 2010-04-23 17:05 zencorn 阅读(671) 评论(0) 推荐(0)
MS_HotFix
摘要:HotFix是什么?HotFix又叫做热补丁,是微软在Windows发布之后,针对发现的Windows漏洞发布的补丁程序。当HotFix累计到一定程度,微软就会以SP的方式把此前的HotFix整合起来 阅读全文
posted @ 2010-01-27 15:03 zencorn 阅读(267) 评论(0) 推荐(0)
Windows 多批处理间调用.
摘要:1. 从一个BAT文件中调用另一个BAT文件时最好使用CALL 来线性调用,完成上一BAT后可以返回当前会话。2. 跨文件传值判断时用转义连接来实现。 阅读全文
posted @ 2010-01-20 14:38 zencorn 阅读(202) 评论(0) 推荐(0)
Windows操作系统的保留字
摘要:Windows KeyWords 阅读全文
posted @ 2009-12-10 13:37 zencorn 阅读(739) 评论(0) 推荐(0)
为文件重设分隔符.
摘要:关于.TXT或者CSV默认的文件的分隔符是由系统的环境变量定义的,有时候是以逗号分隔.有时候有的是用||来分隔,我们可以在系统中重设文件的分隔符,例如将某种特定的.TXT转换为CSV后方便用EXCEL来处理数据.[Setting Path] __Regional and Languag Options ->Customize-> List separator. 阅读全文
posted @ 2009-08-06 16:32 zencorn 阅读(307) 评论(0) 推荐(0)
当前系统的安装路径
摘要:读取注册表HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion中的Version和VersionNumber也可以得到版本号。 阅读全文
posted @ 2008-04-24 14:46 zencorn