Software

Open-Sourced Windows File Manager Gets New Life on Windows 10

Microsoft sign at Redmond campus

Microsoft has rummaged deep into its archive for its latest contribution to the open-source community: Windows File Manager.

Originally bundled with Windows in 1990, File Manager was a replacement for the command-line interface in MS-DOS. The program was used to search, open, copy and delete files until it was replaced by Windows Explorer, which followed the introduction of Windows 95.

Windows File Manager

Craig Wittenberg, a veteran of Microsoft, has maintained the code since 2007, after copying it from the Windows NT 4 source tree in November of that year. He released the code this week on GitHub under an MIT license.

The branch named “original_plus” contains a very limited set of modifications to allow winfile.exe to run on today’s version of Windows, according to Wittenberg.

Among the changes in original_plus:

  1. Converted to Visual Studio solution; works on VS 2015 and 2017
  2. Compiles and runs on 64-bit Windows (e.g. Get WindowLong -> Get WindowLongPtr, LONG -> LPARAM)
  3. Added header files stored in elsewhere in the NT source tree (e.g., wfext.h)
  4. Deleted some unused files (e.g. winfile.def)
  5. Converted 64-bit arithmetic from internal libraries to C
  6. Converted internal shell APIs to public APIs

A larger number of changes were made in master v10.0, which represents all the changes Wittenberg made since 2007. A summary of the changes:

  1. OLE drag/drop support
  2. Control characters (e.g. ctrll+C) map to current short cut (e.g. ctrl+C -> copy ) instead of changing drives
  3. Cut (ctrl + X) followed by paste (ctrl + V) translates into a file move
  4. Left and right arrows in the tree view expand and collapse folders like in Explorer
  5. Added context menus in both panes
  6. Improved icon display for files
  7. F12 runs notepad or notepad ++ on the selected file
  8. Moved ini file location to %AppData%RoamingMicrosoftWinFile
  9. File.search can include a date that limits files returned to after date is provided; output sorted by date instead of name
  10. File.Search includes option whether to include sub directories
  11. ctrl+K starts command shell (ConEmu if installed) in the current directory; shift+cntrl+K starts elevated command shell (cmd.exe only)
  12. File.Goto (ctrl+G) gets list of directories after typing a few words of a path
  13. UI shows reparse points
  14. Simple forward/back navigation added
  15. View command has new option to sort by date forward, meaning oldest first. Default is newest on top.

Old School

Open-sourcing File Manager was mostly for fun.

“It’s a bit of nostalgia, a blast from the past, simply because it was captured and maintained,” said Paul Teich, principal analyst at Tirias Research.

File Manager could service as a nice addition for an introductory course for someone who wants to learn about file systems, he told LinuxInsider.

“Outside of computer science classroom demos or nostalgic remembrances of 1990s era computing, I can’t think of any practical reasons to run Windows File Manager on a Windows 10 — or any other Windows system,” said Charles King, principal analyst at Pund-IT.

There are more than a few Windows users still working on archaic Windows applications that might have some use for the old File Manager, but Linux users won’t gain much from it.

Still, the move does reflect Microsoft’s eagerness to embrace the open-source community, which had previously been a no-go zone.

“We released WinFile as OSS given developer interest in using the tool and felt the release would further support Microsoft’s overall developer ecosystem, dedication to open source, and illustrate Microsoft’s commitment to OSS,” a Microsoft spokesperson said in a statement provided to LinuxInsider by company rep Joel Gunderson.

Just last week Microsoft released a new tool to make it easier for programmers and developers to run Linux on Windows 10. The tool also makes it easier for Linux Distro distribution maintainers to bring their distros to the Windows Store.

David Jones has been an ECT News Network reporter since 2015. His areas of focus include cybersecurity, e-commerce, open source, gaming, artificial intelligence and autonomous vehicles. He has written for numerous media outlets, including Reuters, Bloomberg, Crain's New York Business and The New York Times. Email David.

1 Comment

Leave a Comment

Please sign in to post or reply to a comment. New users create a free account.

LinuxInsider Channels