views:

2190

answers:

2

Does anyone know how to flush the disk write cache data from the cache manager for the current directory (or any given file or directory, for that matter), from a Windows command line?

+4  A: 

Sysinternals Sync seems to do what you want.

Grant Wagner
A: 

Sync, see http://technet.microsoft.com/en-us/sysinternals/bb897438.aspx

Not ideal, but it works.

JBB