XCOPY Returns "Invalid Parameter" When Using Date Switch (183656)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0 Terminal Server Edition
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 4.0
  • Microsoft Windows NT Server, Enterprise Edition 4.0

This article was previously published under Q183656

SYMPTOMS

When you run the XCOPY command with certain dates using the /d:00-00-00 switch, you may receive one of the following error messages:

Invalid parameter
-or-

Invalid number of parameters

For example, the dates, Oct 31, Dec 31, and Feb 29 (in leap year) are correct dates; however, XCOPY treats these dates as invalid.

CAUSE

Ulib.dll used by XCOPY interprets certain dates as invalid.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows NT 4.0 or Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

152734 How to Obtain the Latest Windows NT 4.0 Service Pack


STATUS

Microsoft has confirmed that this is a problem in Windows NT 4.0 and Windows NT Server 4.0, Terminal Server Edition. This problem was first corrected in Windows NT 4.0 Service Pack 4.0 and Windows NT Server 4.0, Terminal Server Edition Service Pack 4.

Modification Type:MinorLast Reviewed:9/23/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix KB183656