メイン コンテンツへスキップ
サポート
Microsoft アカウントでサインイン
サインインまたはアカウントを作成してください。
こんにちは、
別のアカウントを選択してください。
複数のアカウントがあります
サインインに使用するアカウントを選択してください。
英語
申し訳ございません。この記事は、ご利用の言語では用意されていません。

Symptoms

When you run a batch file from a different folder that contains non- alphabetic characters, you will receive the following error message:


The name specified is not recognized as an internal or external command,
operable program or batch file.



Steps to reproduce the problem:


  1. Create a folder named test(2) off your root directory.

  2. Create a batch file in the test(2) folder called test.bat.

  3. Insert the following lines in test.bat:

          echo off
    pause
  4. Save test.bat.

  5. From the root directory at a command prompt, run the batch file with the following line:

    \test(2)\test.bat

Notice the error message received:


The name specified is not recognized as an internal or external command,
operable program or batch file.

Workaround

Although the batch file does not run from the root directory, the command will run if you enclose the command line within quotes. For example, for the above situation, a user should enter the following line in a command prompt:


"\test(2)\test.bat"

This command will run the batch file normally.

Status

Microsoft has confirmed this to be a problem in Windows NT version 4.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

ヘルプを表示

その他のオプションが必要ですか?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

この情報は役に立ちましたか?

どのような要因がお客様の操作性に影響しましたか?
[送信] を押すと、Microsoft の製品とサービスの改善にフィードバックが使用されます。 IT 管理者はこのデータを収集できます。 プライバシーに関する声明。

フィードバックをいただき、ありがとうございます。

×