File & Folder is a 1996 Windows document manager for Word documents. Daniel Doubrovkine (dB.) wrote it in Visual Basic 4.0 and published it as shareware under Stolen Technologies Inc. (STI) in Geneva. This is the 32-bit version for Windows 95 and Windows NT. Its version string is "File & Folder 32, version 1.2". It was followed by File & Folder 98, a rewrite in Delphi 3.
File & Folder works in a single root folder. The root holds numbered folders, one per client or case, such as 1001, and each folder holds Word documents. You type a folder number and press Enter. File & Folder lists the documents in that folder, and offers to create the folder if it doesn't exist. It opens, creates, copies, moves, renames and deletes documents by driving Microsoft Word over OLE automation (Word.Basic), so you never see Word's file dialogs.
The demo opens folder 1001, selects a document, goes back to the folders and opens folder 1003. A full-resolution version is in ff95.mp4.
File & Folder was written for a small business in Geneva with about 20 workstations. In the mid-1990s many office workers were new to computers, and folders were a hard idea to grasp. They saved documents wherever Word happened to put them, and the network supervisor spent too much time finding and fixing misplaced documents. The 1999 Vestris product page describes it as software "for a small business which is sick and tired of seeing it's workers putting documents a bit everywhere in the system."
File & Folder limits users to one root. Under it, anyone can create folders and put documents in them. A folder holds either documents or other folders, never both. The page estimates the time saved at over 80%. It sold as shareware for US$75.
- Folders. Type a folder number to open it, or to create it. Rename Directory renames the folder. The <- button goes back to the list of folders.
- Documents. New Document, Copy Document, Move Document, Rename Document and Delete Document work on the documents in the open folder. Open Selected opens the selected documents in Word. When you open a document, File & Folder offers to open a copy under a new name.
- History. A drop-down list of recently opened documents, with Open to reopen one.
- Status. A log of what File & Folder did.
- Setup. Picks the root folder and turns buttons and options on and off. Settings are stored in the registry under
HKCU\Software\VB and VBA Program Settings\File & Folder. - Hidden commands. Type
--h,--setupor--exitin the folder box. - French. If Word is French, File & Folder uses the French WordBasic commands, such as
FichierOuvririnstead ofFileOpen. - Help. A WinHelp user guide,
File & Folder.hlp.
- original/ holds the Visual Basic 4.0 source, unchanged: the forms (
.frmand.frx),Global Declarations.basand the project,File & Folder.vbp. It also holds the compiledFile & Folder.exefrom December 1997, the help file and its source inHELP/, andFile & Folder.doc, a Word document with a macro that adds a File & Folder button to Word. - history/ holds the 1999 Vestris product page and two screenshots of File & Folder 1.0 from it.
- wordbasic/ holds
wordbasic.lpr, a small stand-in for Word'sWord.Basicautomation object, written in Free Pascal. See Word below. - scripts/ holds the scripts that install everything and run the original exe on macOS.
demo/holds the scripts that recorded the demo above.
The original needs Windows 95 or NT with the Visual Basic 4.0 runtime and Microsoft Word. On macOS, the scripts run the original, unchanged File & Folder.exe under Wine.
scripts/setup.sh # one-time: Wine, the VB4 runtime, OCXs, Free Pascal and the Word stand-in into ~/.cache/ff95 (~1.6 GB)
scripts/run.sh # launch File & Foldersetup.sh needs Homebrew, and installs innoextract and sevenzip with it. Set FF95_TOOLS to install somewhere else.
run.sh points File & Folder at ~/Documents/File & Folder. On the first run it creates that folder with a sample folder, 1001, that holds an empty Welcome.doc. Set FF95_ROOT to use another root folder. Pass --setup to clear the root folder and pick one in File & Folder's Setup instead. Your Mac's disk is drive Z: in Wine.
Documents open in the Mac's default app for .doc files, such as Word for Mac or Pages.
scripts/build.sh rebuilds and registers the Word stand-in after a change to wordbasic.lpr.
scripts/demo/ recorded the demo above on macOS. It needs brew install ffmpeg cliclick gifsicle, and Screen Recording and Accessibility permissions for the terminal.
scripts/demo/record.sh # records /tmp/ff95demo/rec.mov (~20 s, hands off)
scripts/demo/encode.sh # writes ff95.mp4 and ff95.gifrecord.sh creates a sample root folder in /tmp/ff95demo/root, hides Terminal, starts File & Folder and records only its main window while cliclick clicks through it.
The Wine that runs File & Folder 98 and inet98, WineHQ's 11.x, can't run this exe on Apple Silicon. Wine runs 32-bit Windows programs there through WoW64, under Rosetta 2. Each system call from the 32-bit program far-jumps (ljmp) into 64-bit code in wow64cpu. Under Rosetta, that jump sometimes lands in 32-bit mode. The stack pointer is then garbage, the next exception can't be delivered, and the program spins at 100% CPU or crashes. File & Folder hits it within seconds.
The Game Porting Toolkit (GPTK) is Apple's build of CrossOver's Wine. It runs 32-bit programs its own way (wine32on64) and doesn't have this problem, so setup.sh uses it.
setup.shdownloads Microsoft'svb4run.exeand installs itsVB40032.DLL.- The exe also needs
COMCTL32.OCX, for its document list, andCOMDLG32.OCX. The VB 4.0 versions aren't downloadable any more. The versions in the Visual Basic 6.0 SP6 update keep the same type libraries and work with the VB 4.0 exe, sosetup.shextracts those with7zzand registers them.
File & Folder can't start without Word. It creates Word.Basic at start-up and exits with "FATAL ERROR: impossible to communicate with Word via OLE!" if it can't. On a Mac, documents should open in a Mac app anyway.
wordbasic/wordbasic.lpr is an in-process COM server that registers the real Word.Basic class ID and answers the WordBasic calls File & Folder makes, in English and in French:
FileOpenopens the document in the Mac's default app, through Wine'swinebrowser.FileNewfollowed byFileSaveAscopies an empty Word document into place and opens it.build.shmakes the empty document with macOS'stextutil.AppInfo$(16), Word's language, returns "English (US)", andIsDocumentDirtyreturns 0.- Every other call, such as
ChDirorAppMaximize, does nothing.
File & Folder also calls AppActivate "Microsoft Word", which raises an error unless a visible window with that title exists. The stand-in creates one, 1 pixel wide and off-screen.
setup.sh installs the Windows version of Free Pascal to build it, and runs the compiler under the same Wine.
File & Folder, the Word stand-in and the scripts are released under the MIT License.
The 1996 help file still carries the original shareware terms. They're kept as historical text, and the MIT License replaces them. Microsoft's Visual Basic runtime and OCXs, and Word, are downloaded from Microsoft by setup.sh and aren't part of this repository. Trademarks belong to their respective owners.


