指定されたパスが見つかりませんと出るのはなぜなのでしょうか。一つ前に戻るcd -も利きません。cd desktopはできます。
気になる質問をクリップする
クリップした質問は、後からいつでもマイページで確認できます。
またクリップした質問に回答があった際、通知やメールを受け取ることができます。
下記のような質問は推奨されていません。
- 質問になっていない投稿
- スパムや攻撃的な表現を用いた投稿
適切な質問に修正を依頼しましょう。
回答1件
1
ベストアンサー
指定されたパスが見つかりませんと出るのはなぜなのでしょうか。
c:\Users\user
直下にc
というディレクトリがないからでしょう。
ちなみにcd c:\
でcドライブ直下に移動できます。
一つ前に戻るcd -も利きません。
cd
にはそのような機能はないようです。
bat
1c:\>cd /? 2Displays the name of or changes the current directory. 3 4CHDIR [/D] [drive:][path] 5CHDIR [..] 6CD [/D] [drive:][path] 7CD [..] 8 9 .. Specifies that you want to change to the parent directory. 10 11Type CD drive: to display the current directory in the specified drive. 12Type CD without parameters to display the current drive and directory. 13 14Use the /D switch to change current drive in addition to changing current 15directory for a drive. 16 17If Command Extensions are enabled CHDIR changes as follows: 18 19The current directory string is converted to use the same case as 20the on disk names. So CD C:\TEMP would actually set the current 21directory to C:\Temp if that is the case on disk. 22 23CHDIR command does not treat spaces as delimiters, so it is possible to 24CD into a subdirectory name that contains a space without surrounding 25the name with quotes. For example: 26 27 cd \winnt\profiles\username\programs\start menu 28 29is the same as: 30 31 cd "\winnt\profiles\username\programs\start menu" 32 33which is what you would have to type if extensions were disabled. 34c:\>
投稿2017/05/24 13:48
総合スコア36951
同じタグがついた質問を見る
コマンドプロンプト
コマンドプロンプト(cmd.exe)はMicrosoftによって提供されているコマンドラインインタプリタです。OS/2・Windows CE・Windows NTで使用可能です。
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。
2017/05/24 13:52