Honestly I can't find restrictions which are connected with Windows, except:
- *nix-specific commands in
Makefile
andREADME
- http://docs.mongodb.org/manual/release-notes/2.2/#windows-specific-changes (which states, that WinXP isn't supported for 2.2)
- checking
_isWindows()
inmongo_hacker.js
I've been using for a quite long time Mongo DB in *nix and Windows, and the only difference which I have faced is an absence of --fork
param in Win version.
So what I would try to do (in Win7 f.e.):
- remove
_isWindows()
line - start mongo terminal on some test DB with
--shell
command, just for playing with this
mongo localhost/test --shell mongo_hacker_custom.js
Then, if everything is working properly, you can fill ~/.mongorc.js
with mongo_hacker_custom.js
content, without creating of symbolic link (BTW, starting with Vista Windows also supports them already, so symbolic link is also suitable).
P.S. Now I can't try this solution, will check in a few hours suggested solution by myself.
UPD: yeap, it seems to be working just fine on my Windows 7 + MongoDB 2.2.1