<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>e2esound.com業務日誌 &#187; .bat</title>
	<atom:link href="http://www.e2esound.com/wp/tag/bat/feed/?/tag/bat/feed" rel="self" type="application/rss+xml" />
	<link>http://www.e2esound.com/wp</link>
	<description>群馬の山奥の方でプログラムを書いて生きています</description>
	<lastBuildDate>Tue, 03 Jan 2012 08:04:15 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.e2esound.com/wp/tag/bat/feed/?/tag/bat/feed" />
		<item>
		<title>【解決】バッチファイルが起動できなくなった</title>
		<link>http://www.e2esound.com/wp/2009/06/27/%e3%83%90%e3%83%83%e3%83%81%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%8c%e8%b5%b7%e5%8b%95%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f/</link>
		<comments>http://www.e2esound.com/wp/2009/06/27/%e3%83%90%e3%83%83%e3%83%81%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%8c%e8%b5%b7%e5%8b%95%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 14:00:31 +0000</pubDate>
		<dc:creator>yterajima</dc:creator>
				<category><![CDATA[Lifehack]]></category>
		<category><![CDATA[.bat]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[バッチファイル]]></category>
		<category><![CDATA[文字コード]]></category>

		<guid isPermaLink="false">http://www.e2esound.com/?p=750</guid>
		<description><![CDATA[【解決】 以下の問題は解決しました。 cmdの文字コードがutf-8(65001)に設定されたままになっていたことが原因です。 cmdにおいて文字コードをs-jis(cp932)に変更することで解決しました。 e2eso [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>【解決】<br />
以下の問題は解決しました。<br />
cmdの文字コードがutf-8(65001)に設定されたままになっていたことが原因です。<br />
cmdにおいて文字コードをs-jis(cp932)に変更することで解決しました。</p>
<p>e2esound.com:<a title="Lifehack:アプリケーションの同時起動＠Win " href="http://www.e2esound.com/20080508/entry-id=6" target="_self">Lifehack:アプリケーションの同時起動＠Win</a></p>
<p>こちらのエントリで、バッチファイルと「ファイル名を指定して実行」が突然使用できなくなりました。<br />
さらに、確認してみるとバッチファイルをダブルクリックしてもうんともすんとも言わなくなってしまたorz</p>
<p>未だ原因は不明です＞＜</p>
<p>不便でなりません・・・<br />
恐らくは、長期間使用しているPCが原因ではないかと思われます。</p>
<div class="shr-publisher-750"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.e2esound.com/wp/2009/06/27/%e3%83%90%e3%83%83%e3%83%81%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%8c%e8%b5%b7%e5%8b%95%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.e2esound.com/wp/2009/06/27/%e3%83%90%e3%83%83%e3%83%81%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%8c%e8%b5%b7%e5%8b%95%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f/" />
	</item>
		<item>
		<title>Lifehack:アプリケーションの同時起動＠Win</title>
		<link>http://www.e2esound.com/wp/2008/05/08/lifehack%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%ae%e5%90%8c%e6%99%82%e8%b5%b7%e5%8b%95%ef%bc%a0win/</link>
		<comments>http://www.e2esound.com/wp/2008/05/08/lifehack%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%ae%e5%90%8c%e6%99%82%e8%b5%b7%e5%8b%95%ef%bc%a0win/#comments</comments>
		<pubDate>Thu, 08 May 2008 13:54:01 +0000</pubDate>
		<dc:creator>yterajima</dc:creator>
				<category><![CDATA[Lifehack]]></category>
		<category><![CDATA[.bat]]></category>
		<category><![CDATA[ショートカット]]></category>

		<guid isPermaLink="false">http://www.e2esound.com/?p=6</guid>
		<description><![CDATA[Lifehack=仕事術ブームもいい加減下火になってきた感がありますが、こんなのを紹介。 バッチファイルを使用したアプリケーションの同時起動。 PCを立ち上げたと同時に、複数のアプリケーションを同時に起動することはないで [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Lifehack=仕事術ブームもいい加減下火になってきた感がありますが、こんなのを紹介。</p>
<p><a href="http://ja.wikipedia.org/wiki/%E3%83%90%E3%83%83%E3%83%81%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB">バッチファイル</a>を使用したアプリケーションの同時起動。</p>
<p>PCを立ち上げたと同時に、複数のアプリケーションを同時に起動することはないでしょうか？<br />
例えば、ブラウザとメーラーを開いたり。<br />
例えば、画像編集ソフトと<a href="http://picasa.google.co.jp/">Picasa</a>を開いたり。<br />
そんな時に使える小技です。<span id="more-6"></span></p>
<p>■必要なもの</p>
<ul>
<li>テキストエディタ(メモ帳でOk)</li>
</ul>
<p>■記述内容</p>
<blockquote><p>start &#8220;C:\Program Files\～\hogehoge1.exe&#8221;<br />
start &#8220;C:\Program Files\～\hogehoge2.exe&#8221;</p></blockquote>
<p>■保存ファイル名<br />
hogehoge.bat</p>
<p>具体的には、<br />
俺が使っているものに｢web.bat｣があります。</p>
<ul>
<li><a href="http://www.mozilla-japan.org/products/firefox/">Firefox</a></li>
<li><a href="http://www.mozilla-japan.org/products/thunderbird/">Thunderbird</a></li>
<li><a href="http://www.skype.com/intl/ja/welcomeback/">Skype</a></li>
</ul>
<p>この3つのアプリケーションを同時起動させたい。<br />
そこで、テキストエディタで以下の内容を記述</p>
<blockquote><p>start &#8220;C:\Program Files\Mozilla Firefox\firefox.exe&#8221;<br />
start &#8220;C:\Program Files\Mozilla Thunderbird\thunderbird.exe&#8221;<br />
start &#8220;C:\Program Files\Skype\Phone\Skype.exe&#8221;</p></blockquote>
<p>「web.bat」でデスクトップに保存。</p>
<p><img src="http://farm4.static.flickr.com/3016/2475340153_ee61fa06fc_o.jpg" alt="web.bat" width="102" height="81" /></p>
<p>このファイルをクリックしてみる→無事に起動。</p>
<p>■もう一歩踏み込んでみる編<br />
Winのショートカット・キーと組み合わせて使いこなしてみる。</p>
<p><strong>[Win]＋R　：　ファイル名を指定して実行</strong></p>
<p><img src="http://farm3.static.flickr.com/2171/2475340137_21315a3f53_o.jpg" alt="filename" width="403" height="168" /><br />
ここに、hogehoge.batのhogehogeを入力→起動にしてみる。<br />
hogehoge.batファイルを<br />
&#8220;C:\WINDOWS\system32&#8243;に置く。</p>
<p>【ファイル名を指定して実行】に「hogehoge」を打つ＋[Enter]!!<br />
これで素早く起動できます。</p>
<p>他にもアプリケーション別に用意しておくと、デスクトップにアイコンを置かなくて良いので(少なくとも)気分がいいです。<br />
俺は常用するFirefox、IE、<a href="http://ja.wikipedia.org/wiki/%E3%83%A9%E3%83%B3%E3%83%81%E3%83%A3%E3%83%BC">ランチャー</a>などなどいくつかバッチファイルを用意して作業しています。</p>
<p>→デスクトップは「ごみ箱」のアイコンだけになります。</p>
<p>今回紹介したバッチファイルは、もっと高度な事が出来るようですね。<br />
If式とか。</p>
<div class="shr-publisher-6"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.e2esound.com/wp/2008/05/08/lifehack%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%ae%e5%90%8c%e6%99%82%e8%b5%b7%e5%8b%95%ef%bc%a0win/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.e2esound.com/wp/2008/05/08/lifehack%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%ae%e5%90%8c%e6%99%82%e8%b5%b7%e5%8b%95%ef%bc%a0win/" />
	</item>
	</channel>
</rss>

