Wednesday, January 23, 2008

Make 1.bat

:TOP
echo start
mkdir foo
rename foo bar
rmdir bar
goto TOP


Copy it say to empty c:\test say on Vista box

You may make another copy 2.bat
And open two comand prompts to this directory .

Run 1.bat from one and 2.bat from other ( same file can be used, but
you may need re run if you see file busy

After short while it stops and your 1.bat will be magicaly renamed to
bar

I find this out trying to write simple stress for my mini filter
during lab and was debuging bat file on clean dev box without filter
( that waited for torture on vm) is it a bug? Or I am missing some
thing? ;-) let me know






<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]