What version of works?
The Share.exe tool is not included with Windows 95 OEM Service Release 2 (OSR2), Windows 98 or Windows Me. File sharing and locking capabilities are provided by APIs in IFSManager and are not supported in MS-DOS mode. You may not be able to install or run some MS-DOS-based programs or 16-bit Windows-based programs that require Share.exe in OSR2, Windows 98 or Windows Me.
In earlier versions of Windows, Share.exe is used only in real-mode MS-DOS. In order to support the FAT32 file system, Share.exe support has been disabled in the real-mode MS-DOS kernel regardless of whether or not you have any drives using the FAT32 file system.
Some programs look for a file named Share.exe in either the root folder or the DOS folder. This file can be a zero-byte file created with a text editor (such as Notepad). Other programs may simply look for the string "share" in the Autoexec.bat file.