<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>寂静的深海 &#187; bat</title>
	<atom:link href="http://www.deepseath.com/?feed=rss2&#038;tag=bat" rel="self" type="application/rss+xml" />
	<link>http://www.deepseath.com</link>
	<description></description>
	<lastBuildDate>Mon, 29 Jan 2024 09:55:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>关于“找不到附属汇编 Microsoft.VC90.CRT，上一个错误是 参照的汇编没有安装在系统上。”的解决</title>
		<link>http://www.deepseath.com/?p=858</link>
		<comments>http://www.deepseath.com/?p=858#comments</comments>
		<pubDate>Thu, 16 Jun 2011 18:28:52 +0000</pubDate>
		<dc:creator>Deepseath</dc:creator>
				<category><![CDATA[日积月累]]></category>
		<category><![CDATA[bat]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SideBySide]]></category>
		<category><![CDATA[VC9]]></category>
		<category><![CDATA[服务器]]></category>
		<category><![CDATA[计划任务]]></category>

		<guid isPermaLink="false">http://www.deepseath.com/?p=858</guid>
		<description><![CDATA[一个项目需要在Win系统用计划任务执行PHP，写了个批处理bat利用php-cgi.exe进行执行PHP文件，由于在服务器运行为了不影响服务器既有的PHP配置信息，同时也是考虑未来的移植性还有性能问题，自己弄了个精简了的PHP运行环境。 可在Win下死活也是执行不了，运行批处理直接闪一下就啥都木有咧，于是为了看具体的状态，使用cmd命令行模式去运行批处理文件，结果提示“系统无法执行指定的程序。”，悲催了，难道朋友将服务器给阉割导致不能执行.bat文件？ 正咬牙切齿的时候决定再尝试一下确定到底是什么问题。这一次直接在cmd中执行php，运行php.exe -c php.ini -i（指定同php.exe相同目录下的php.ini作为php的配置文件，并且显示phpinfo信息），回车后，竟然还是那句该死的“系统无法执行指定的程序。”，看来不是系统运行不了bat批处理，是干脆不能执行php.exe，咋回事捏？ 再次尝试寻找问题的症结，这次尝试在cmd运行服务器原有的php.exe，奇迹出现了，竟然可以正常执行并且返回了phpinfo信息。这下看来应该是我自己所谓的精简的问题，有点晕~~ 纠结的时候突然想到，服务器运行的是PHP 5.2.x版本，而我自己打包的是PHP 5.3.x，貌似是用VC9编译的，而php 5.2是用VC6编译的，看来应该是服务器没有安装Microsoft Visual C++运行库导致的，这只是一个初步想法，为了保险尝试看看系统日志有没有留下啥鸟东西（一般微软自家的东西出错了都会老实的写日志的）。 在系统日志中发现了来源均为“SideBySide”，事件ID一个：32，两个59。 事件ID为32的描述是这样的：找不到附属汇编 Microsoft.VC90.CRT，上一个错误是 参照的汇编没有安装在系统上。 事件ID为59的描述是这样的：Resolve Partial Assembly 为 Microsoft.VC90.CRT 失败。 参考错误消息: 参照的汇编没有安装在系统上。 另一个事件ID为59的描述是：Generate Activation Context 为 E:\***\php.exe 失败。 参考错误消息: 参照的汇编没有安装在系统上。 哈哈，看来问题原因找到了，就是因为缺少VC9的运行库，老实的去微软找：http://download.microsoft.com/download/9/7/7/977B481A-7BA6-4E30-AC40-ED51EB2028F2/vcredist_x86.exe，下载回来vcredist_x86.exe（Microsoft Visual C++ 2008 Redistributable 9.0.30729.4148）安装，再次执行php.exe成功了^_^ 这就是整个解决问题的过程。估计以后也会有其他人遇到此类问题的，分享一下经验吧:)]]></description>
		<wfw:commentRss>http://www.deepseath.com/?feed=rss2&#038;p=858</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>[转]用phpxref生成PHP项目的交叉参考文档</title>
		<link>http://www.deepseath.com/?p=348</link>
		<comments>http://www.deepseath.com/?p=348#comments</comments>
		<pubDate>Mon, 20 Oct 2008 01:53:05 +0000</pubDate>
		<dc:creator>Deepseath</dc:creator>
				<category><![CDATA[日积月累]]></category>
		<category><![CDATA[bat]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[浏览器]]></category>

		<guid isPermaLink="false">http://www.deepseath.com/?p=348</guid>
		<description><![CDATA[PHPXref －PHP Cross Referencing Documentation Generator。通过遍历项目所有的文件为PHP项目生成文档的工具，生成的文档格式支持html以及gz方式的压缩文件，同时在文档中包含项目中设计到的基类、方法、函数、变量、注释、甚至涉及到的时间表结构甚至相互include、require到的文件等等，使用中我还发现它对smarty的模板文件的支持也很好。而注释则支持PHPDocumentor风格的注释，同时支持基于javascript的客户端的搜索。phpxref是用perl编写的，对于windows平台，它自己内嵌了TinyPerl 所以无需事先安装perl。所以要做的事情大多就是： 1:下载phpxref，解压 2:把需要生成文档的PHP代码放到phpxref.cfg文件中SOURCE中指定的目录中 3:执行phpxref.pl，在windows下面是phpxref.bat或者phpxref.exe 4:用你的浏览器打开输出目录（由phpxref.cfg文件中的OUTPUT指定）中的index.html文档浏览生成的PHP项目文档。 至于PHPxref的高级应用，则可以修改phpxref.cfg来实现，每个修改项都很简单，如下便是生成一个项目的文档时的情况，其中有smarty模板的支持，以及一些错误提示。 E:\Program Files\phpxref &#62; phpxref.exe PHPXref 0.6 (c) Gareth Watts 2004 Processing Smarter v2… Source………….: F:CVSRootSmarterV2Source_CodeFrontEnd Target………….: E:Program Filesphpxrefoutput Scanning Tree……: OK &#8211; 2838 files to process Pass One………..: 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100% Generating Output..: 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100% Variable references: 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100% Function references: 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100% Class references…: 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100% Constant references: [...]]]></description>
		<wfw:commentRss>http://www.deepseath.com/?feed=rss2&#038;p=348</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>详细的DOS命令说明</title>
		<link>http://www.deepseath.com/?p=242</link>
		<comments>http://www.deepseath.com/?p=242#comments</comments>
		<pubDate>Mon, 14 Jul 2008 11:53:27 +0000</pubDate>
		<dc:creator>Deepseath</dc:creator>
				<category><![CDATA[日积月累]]></category>
		<category><![CDATA[bat]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[echo 2]]></category>
		<category><![CDATA[errorlevel]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Win2003]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.deepseath.com/?p=242</guid>
		<description><![CDATA[1 echo 和 @ 回显命令 @　　　　　　　　 #关闭单行回显 echo off　　　　　 #从下一行开始关闭回显 @echo off　　　　　 #从本行开始关闭回显。一般批处理第一行都是这个 echo on　　　　　　 #从下一行开始打开回显 echo　　　　　　　 #显示当前是 echo off 状态还是 echo on 状态 echo.　　　　　　 #输出一个”回车换行”，空白行 　　　　　　　　  #(同echo, echo; echo+ echo[ echo] echo/ echo) 2 errorlevel echo %errorlevel% 每个命令运行结束，可以用这个命令行格式查看返回码 默认值为0，一般命令执行出错会设 errorlevel 为1 3 dir 显示文件夹内容 dir　　　　　　　 #显示当前目录中的文件和子目录 dir /a　　　　　　 #显示当前目录中的文件和子目录，包括隐藏文件和系统文件 dir c: /a:d　　　　 #显示 C [...]]]></description>
		<wfw:commentRss>http://www.deepseath.com/?feed=rss2&#038;p=242</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
