I would like to build a batchfile on my desktop to tune the access to my HDDs. There is a command to start within cmd: "fsutil.exe fsinfo statistics c:" Does anybody know the structure of an appropriate batchfile?

FILENAME.BAT

@ECHO OFF
fsutil.exe fsinfo statistics c:

Save this under filename.bat and it will run the requested command :) ...

Edit:: Replace filename with an appropriate filename ...

FILENAME.BAT

@ECHO OFF
fsutil.exe fsinfo statistics c:

Save this under filename.bat and it will run the requested command :) ...

Sorry but this didn´t work because the cmd window closed at once after execution of the batchfile.
In the meantime I`ve found a way.
The command must be: "command /k fsutil.exe fsinfo statistics c:
Now the cmd window stays open. Thanks anyway.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.