BUG: Visual FoxPro FoxRun.pif Fails with Long File Names in NT/W2K (251399)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0b, when used with:
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows NT
- Microsoft Visual FoxPro for Windows 5.0, when used with:
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows NT
- Microsoft Visual FoxPro for Windows 5.0a, when used with:
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows NT
- Microsoft Visual FoxPro for Windows 6.0, when used with:
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows NT
This article was previously published under Q251399 SYMPTOMS
If you try to use the !/Run command in Visual FoxPro on a Windows NT or Windows 2000 computer and the files are in Long File Name format, the execution fails
with the following error:
To many parameters - Files
This also occurs if a batch file contains a Long File Name.
CAUSE
The FoxRun.pif file points to the wrong file. FoxRun.pif points to Command.com on NT or Windows 2000. Command.com is not a DOS 7+ version but rather a DOS 6
version, which produces errors with Long File Names. FoxRun.pif should point to the CMD.exe file.
RESOLUTION- Use the Windows Explorer to navigate to the FoxRun.pif file located in the Visual FoxPro home directory.
- Right-click and choose Properties.
- Select the Program tab.
- Change the Cmd line from:
Command.com
to:
CMD.exe
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/10/2003 |
---|
Keywords: | kbBug kbnofix kbXBase KB251399 kbAudDeveloper |
---|
|