Questions tagged [fsutil]

fsutil is a Windows command which performs FAT and NTFS file system tasks, such as dismounting a volume, setting the dirty-bit of a volume, or setting a range of files to zeroes.

Documentation:

Related:

22 questions
0
votes
1 answer

FSUTIL in GB space left

I got a batch file that does the following. echo Server 1 C:\>>output.txt fsutil volume diskfree \\IPISHERE\d$>>output.txt echo ---------------------------------------------------------- >>output.txt This then displays data as Total # of free bytes…
ThisIsLegend1016
  • 105
  • 1
  • 4
  • 13
0
votes
0 answers

Partially truncating log file contents based on size

I have log file abcd.log file of around 2GB of size, I need to keep latest contents of only 200MB size and delete previous contents by using Windows in-built tool/ command line only. What I found is to totally truncate the file by copy, echo or…
Shamsuddin Altamash
  • 163
  • 1
  • 3
  • 11
0
votes
1 answer

Check free space of C drive in multiple computers via ip address

I want script that check free space of C drive in multiple computers via set list of IP's.. from text. file I want the script for windows 7 environment.. and the script should check the free space of C drive, and if is less than 10gb, then it will…
Tomer Cohen
  • 15
  • 1
  • 8
0
votes
1 answer

shell command to create files

I want to create files with different sizes on an Android device. The one approach I have already tried was to create dummy files using fsutil and push it to devices. Is there any way to achieve similar result with a command inside adb shell?
Gaurav Verma
  • 54
  • 1
  • 3
  • 9
0
votes
1 answer

chkdsk multiple drives on startup

I wish to schedule multiple chkdsk on startup: "fsutil dirty set [drive]:" marks the drive as dirty and should be scanned but for some reason it scans C and skips D. Is there any way to force the scan?
Eyal
  • 161
  • 1
  • 9
-2
votes
1 answer

Batch script to get total,free,available size of disks

Thanx in advance I want to create a batch script using which I get all the drives used space, available space, and total space and store it in to the table. Please help me. i found fsutil command but failed to retrieve result.
Hima Joshi
  • 11
  • 3
-3
votes
1 answer

Batch files - Create files based off a list

I am looking to create a large number of rather small php files based off a pre-defined list. I would also like to insert something into these .php files. I have the list ready and there are just slightly over 7500 files to create. Each line is a…
user2195574
  • 57
  • 1
  • 8
1
2