Batch File Calling CD Command May Not Run on Shared Drive Using HPFS

ID: Q183493


The information in this article applies to:


SYMPTOMS

When a Windows 95-based computer runs a batch file at a command prompt that calls the CHDIR or CD (change directory) command on a connected share on a drive using the HPFS file system, the batch file may not run any command in the file after the change directory command.


CAUSE

In Windows 95, a check occurs during the execution of the batch file to determine the type of file system in use. When the HPFS file system is returned (as an unsupported file system), Windows 95 attempts to read the file again using the new path defined by the change directory command. Because the new path does not contain the original batch file, the error message "Batch file missing" is generated.


RESOLUTION

A supported fix for Windows 95 and Windows 95 OEM Service Release 2 and 2.1 that corrects this problem is now available from Microsoft, but has not been fully regression tested and should be applied only to computers experiencing this specific problem. To resolve this problem immediately, contact Microsoft Technical Support to obtain the fix. For a complete list of Microsoft Technical Support phone numbers and information on support costs, please go to the following address on the World Wide Web: http://support.microsoft.com/support/supportnet/default.asp This fix for Windows 95 and OEM Service Release 2.x should have the following file attributes (or later):


File name     Version    Date      Time     Size   
---------------------------------------------------------   
Vredir.vxd    4.00.1118  1/16/98   2:32pm  156,773 bytes 
NOTE: If you contact Microsoft to obtain this fix, a fee may be charged. This fee is refundable if it is determined that you only require the fix you requested. However, this fee is non-refundable if you request additional technical support, if your no-charge technical support period has expired, or if you are not eligible for standard no-charge technical support.

For more information about eligibility for no-charge technical support, see the following article in the Microsoft Knowledge Base:
Q154871 Determining If Your Product Is Eligible for No-Charge Technical Support

There is currently no resolution for this issue in Windows 98.


STATUS

Microsoft has confirmed this to be a problem in Microsoft Windows 95, Microsoft Windows 95 OEM Service Release 2 (OSR2), and Microsoft Windows98.


Keywords          : kbenv kbtool winbatch win95 win98 
Version           : WINDOWS:95
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: June 15, 1999