https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/251399&feed=atom&action=history
Microsoft KB Archive/251399 - Revision history
2024-03-29T12:40:22Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/251399&diff=377468&oldid=prev
X010: Text replacement - """ to """
2020-07-21T12:52:33Z
<p>Text replacement - """ to """</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:52, 21 July 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l120">Line 120:</td>
<td colspan="2" class="diff-lineno">Line 120:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Create a batch file, such as d:\test.bat.</li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Create a batch file, such as d:\test.bat.</li></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li><p>Add the following line to the batch file:</p></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li><p>Add the following line to the batch file:</p></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><pre class="codesample">cd <del style="font-weight: bold; text-decoration: none;">&quot;</del>d:\Program Files<del style="font-weight: bold; text-decoration: none;">&quot;</del></pre></li></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><pre class="codesample">cd <ins style="font-weight: bold; text-decoration: none;">"</ins>d:\Program Files<ins style="font-weight: bold; text-decoration: none;">"</ins></pre></li></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>You may replace the preceding directory with any valid Long File Name path.</li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>You may replace the preceding directory with any valid Long File Name path.</li></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Type the following in the FoxPro Command window:<span class="kbd userinput"> RUN d:\test.bat</span><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>Type the following in the FoxPro Command window:<span class="kbd userinput"> RUN d:\test.bat</span><br /></div></td></tr>
</table>
X010
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/251399&diff=138233&oldid=prev
3155ffGd: importing KB archive
2020-07-18T16:15:34Z
<p>importing KB archive</p>
<p><b>New page</b></p><div><div id="nsbanner"><br />
<br />
<div id="bannerrow1"><br />
<br />
{|<br />
| Knowledge Base<br />
|<br />
|}<br />
<br />
<br />
</div><br />
<div id="TitleRow"><br />
<br />
= <span id="KB251399"></span>BUG: Visual FoxPro FoxRun.pif Fails with Long File Names in NT/W2K =<br />
<br />
<br />
</div><br />
<br />
</div><br />
<div id="nstext" valign="BOTTOM"><br />
<br />
Article ID: 251399<br />
<br />
Article Last Modified on 5/10/2003<br />
<br />
<br />
-----<br />
<br />
APPLIES TO<br /><br />
<br /><br />
<br />
<ul><br />
<li>Microsoft Visual FoxPro 3.0b Standard Edition, when used with:<br />
<ul><br />
<li>Microsoft Windows 2000 Standard Edition</li></ul><br />
<br />
<ul><br />
<li>Microsoft Windows NT 4.0</li></ul><br />
</li><br />
<li>Microsoft Visual FoxPro 5.0 Standard Edition, when used with:<br />
<ul><br />
<li>Microsoft Windows 2000 Standard Edition</li></ul><br />
<br />
<ul><br />
<li>Microsoft Windows NT 4.0</li></ul><br />
</li><br />
<li>Microsoft Visual FoxPro 5.0a, when used with:<br />
<ul><br />
<li>Microsoft Windows 2000 Standard Edition</li></ul><br />
<br />
<ul><br />
<li>Microsoft Windows NT 4.0</li></ul><br />
</li><br />
<li>Microsoft Visual FoxPro 6.0 Professional Edition, when used with:<br />
<ul><br />
<li>Microsoft Windows 2000 Standard Edition</li></ul><br />
<br />
<ul><br />
<li>Microsoft Windows NT 4.0</li></ul><br />
</li></ul><br />
<br />
<br />
-----<br />
<br />
<div class="notice_section"><br />
<br />
This article was previously published under Q251399<br />
<br />
</div><br />
<div class="symptoms_section"><br />
<br />
== SYMPTOMS ==<br />
<br />
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:<br /><br />
<br />
<div class="errormessage"><br />
<br />
To many parameters - Files<br />
<br />
</div><br />
This also occurs if a batch file contains a Long File Name.<br />
<br />
</div><br />
<div class="cause_section"><br />
<br />
== CAUSE ==<br />
<br />
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.<br />
<br />
</div><br />
<div class="resolution_section"><br />
<br />
== RESOLUTION ==<br />
<br />
# Use the Windows Explorer to navigate to the FoxRun.pif file located in the Visual FoxPro home directory.<br />
# Right-click and choose '''Properties'''.<br />
# Select the '''Program''' tab.<br />
# Change the Cmd line from: Command.com<br /><br />
<br /><br />
to:<br /><br />
<br /><br />
CMD.exe<br />
<br />
<br />
</div><br />
<div class="status_section"><br />
<br />
== STATUS ==<br />
<br />
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.<br />
<br />
</div><br />
<div class="moreinformation_section"><br />
<br />
== MORE INFORMATION ==<br />
<br />
=== Steps to Reproduce Behavior ===<br />
<br />
<ol><br />
<li>Create a batch file, such as d:\test.bat.</li><br />
<li><p>Add the following line to the batch file:</p><br />
<pre class="codesample">cd &quot;d:\Program Files&quot;</pre></li><br />
<li>You may replace the preceding directory with any valid Long File Name path.</li><br />
<li>Type the following in the FoxPro Command window:<span class="kbd userinput"> RUN d:\test.bat</span><br /><br />
<br /><br />
When you try to run the batch file from Visual FoxPro, you receive the following error message because Command.com does not understand the long file name d:\Program Files:<br />
<div class="errormessage"><br />
<br />
To many parameters - Files<br />
<br />
</div></li></ol><br />
<br />
<br />
</div><br />
Keywords: kbbug kbnofix kbxbase KB251399<br />
<br />
<div class="footer"><br />
<br />
<br /><br />
<br />
<br />
-----<br />
<br />
[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]<br />
<br />
<span>© Microsoft Corporation. All rights reserved.</span><br />
<br />
<br />
</div><br />
<br />
</div></div>
3155ffGd