I am having the below command working in cmd in windows 7 to create 40 thousand files on the go, but not executing while I try to write it as a batch file. I copy pasted the same cmd as a file 40k.bat along with other commands.
For /L %i in (1,1,40000) do fsutil createnew 40kfile%i.txt 1048
Please let me know why fsutil not working when I execute it as batch file. Or please point me to any other alternative which is as fast as fsutil.