Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You may receive the "Invalid command line" error message when you run the Access Conversion Scanning Tool at the command prompt


View products that this article applies to.

Symptoms

When you try to run the Access Conversion Scanning Tool, also known as Adscanner.exe, at the command prompt, you may receive the following error message:
Invalid command line.
Note The Access Conversion Scanning Tool is included with the Microsoft Office Access 2003 Conversion Toolkit.

↑ Back to the top


Cause

This problem occurs if the syntax of the command that you use to run the Adscanner.exe program is not correct. The following list describes the three main causes of this problem:
  • At the command prompt, you set the value of a command-line argument to an unsupported setting in the syntax of the command that you use to run the Adscanner.exe program. The following example shows an unsupported setting for the value of a command-line argument:
    ADScanner <ResultPath> /acc:off
    The only supported setting for the /acc command-line argument is on. Instead of specifying off to prevent the scanning tool from collecting the Access properties, you do not use /acc at the command-line.
  • At the command prompt, you specified a command-line argument more than one time in the syntax of the command that you use to run the Adscanner.exe program. The following example shows a command-line argument that is specified more than one time:
    ADScanner <ResultPath> /acc:on /acc:on
    In the previous command-line argument, you specified the /acc command-line argument two times in the syntax of the command. Therefore, you receive the error message that is mentioned in the "Symptoms" section.
  • At the command prompt, you specified a command-line argument that is not valid in the syntax of the command that you use to run the Adscanner.exe program. The following example shows a command-line argument that is not valid in the syntax of the command:
    ADScanner <ResultPath> /access:on
    In the previous command-line argument, you specified the /access command-line argument that is not valid in the syntax of the command. Therefore, you receive the error message that is mentioned in the "Symptoms" section.

    Note The <ResultPath> placeholder is the placeholder for the full path of the folder that stores the results of the scans.

↑ Back to the top


Resolution

To resolve this problem, you must make sure that the command-line arguments are valid when you run the Adscanner.exe program at the command prompt. Before you run the Adscanner.exe program, verify that the syntax of the command that you use to run the Adscanner.exe program is correct. To verify the syntax of the command, do the following:
  • Make sure that you have not specified the command-line argument explicitly if you want to use the default setting for a command-line argument.
  • Make sure that you have not duplicated any command-line arguments.
  • Make sure that you have not used any arguments that are not valid.

For additional information about the syntax of the Adscanner.exe program, run the following command at the command prompt:
ADScanner /?

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


More information

When you use the Access Conversion Scanning Tool that is included with the Microsoft Office Access 2003 Conversion Toolkit, you can collect the information about your Access database to make critical decisions. You make these critical decisions when you plan to upgrade your Access databases. You can start the Access Conversion Scanning Tool by running the Adscanner.exe program at the command prompt.

Note By default, the Adscanner.exe file is located in the following folder:

<Installation Drive>:\Program Files\Microsoft Office\Conversion Toolkit

↑ Back to the top


References

For additional information about how to use the Microsoft Access Conversion Toolkit Scanner utility and the errors that may occur when your Access databases are scanned by using the Access Conversion Scanning Tool, see the Microsoft Office Access 2003 Conversion Toolkit documentation.

To open the Microsoft Office Access 2003 Conversion Toolkit documentation, follow these steps:
  1. Click Start, point to Programs, and then point to Microsoft Office Tools.
  2. Point to Microsoft Access Conversion Toolkit, and then click Conversion Tool Documentation.
For additional information about how to use the Access Conversion Scanning Tool, click the following article number to view the article in the Microsoft Knowledge Base:
875289 Description of how to run the Access Conversion Scanning Tool at the command-line interface

↑ Back to the top


Keywords: KB875290, kbprb, kberrmsg, kbtshoot, kbdatabase

↑ Back to the top

Article Info
Article ID : 875290
Revision : 2
Created on : 9/17/2011
Published on : 9/17/2011
Exists online : False
Views : 521