<?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>cmd &#8211; Like@Lunatic</title>
	<atom:link href="/tag/cmd/feed" rel="self" type="application/rss+xml" />
	<link>/</link>
	<description>Naoki Sekiguchi&#039;s personal Web site.</description>
	<lastBuildDate>Wed, 01 Jan 2025 10:17:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.5</generator>

<image>
	<url>/wp-content/uploads/2021/01/cropped-og-32x32.png</url>
	<title>cmd &#8211; Like@Lunatic</title>
	<link>/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>コマンドプロンプトでディレクトリを作る</title>
		<link>/2009/08/05_cmd</link>
		
		<dc:creator><![CDATA[seckie]]></dc:creator>
		<pubDate>Wed, 05 Aug 2009 12:09:52 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">/wptest/2009/08/%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%97%e3%83%ad%e3%83%b3%e3%83%97%e3%83%88%e3%81%a7%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%82%92%e4%bd%9c%e3%82%8b.php</guid>

					<description><![CDATA[WindowsXPのコマンドプロンプトでディレクトリを移動・作成する方法 <a href="/2009/08/05_cmd">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>新しい案件をやる際に、ディレクトリマップを作ってそれに沿ってローカルにディレクトリを作って行こう、という時のお話。これをエクスプローラーで「新規作成→フォルダ」としてちくちく作っていくのは非常にだるいので、コマンドでできないか調べて、やってみました。</p>

<p>職場のマシンはWindowsXPなので、コマンドプロンプトでこれをやる方法。<br />
まず「スタートメニュー→ファイル名を指定して実行」で<kbd>cmd</kbd>と入力してコマンドプロンプトを立ち上げます。</p>

<p>作業ディレクトリに移動はcdコマンド。</p>

<pre><code>C:\Documents and Settings\UserName&gt;cd folderPath\folderPath</code></pre>

<p>上位の階層に移動する場合は</p>

<pre><code>c:\documents and settings\username&gt;cd ../../</code></pre>

<p>とかやればいいです。</p>

<p>もし異なるドライブに移動する場合（以下の例はcドライブ→dドライブ）</p>

<pre><code>c:\documents and settings\username&gt;d:</code></pre>

<p>（<code>ドライブ名:</code>）と入力するだけで、そのドライブのルートに移動できます。<br />
ディレクトリの区切り文字はlinux系と違ってバックスラッシュじゃないと行けないのね。独自路線を突っ走るwindows・・・さすがです（謎）</p>

<p>ディレクトリの作成はmdコマンド。<br />
以下はdドライブの直下にフォルダ「hoge」を作る例。</p>

<pre><code>d:\&gt;md hoge</code></pre>

<p>以上です。</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
