>>701
本当に
cd d:\ ←これが問題
mkdir source
で d:\source ができたのか?

実行時の条件によってはうまくいくこともあるが

正しくは
d:
cd \
mkdir source

もしくは、
pushd d:\
mkdir source

だぞ