Is there any solution to have a (virtual) drive or directory so that data written to this drive/directory will not be stored (similar to nul
or \dev\null
)? For Linux we have programs like https://github.com/abbbi/nullfsvfs.
Asked
Active
Viewed 115 times
1

raubvogel
- 126
- 1
- 8
-
Does this answer your question? [Make a folder always empty](https://superuser.com/q/1436897/52365) – GSerg Mar 24 '22 at 22:57
-
@GSerg, not really, because: if I do `mklink /D C:\test\bh NUL:` and `mkdir bh\foo` or `type NUL > bh\bar.txt`, I just get `The filename, directory name, or volume label syntax is incorrect.`. – raubvogel Mar 25 '22 at 07:38
-
That is [correct](https://superuser.com/questions/1436897/make-a-folder-always-empty#comment2168884_1436905). – GSerg Mar 25 '22 at 07:42