|
1 2 3 4 5 6 7 8 9 |
$path = "$pwd\fichero_fantasma.rar" # Crear archivo vacío $f = [System.IO.File]::Create($path) $f.SetLength(500MB) $f.Close() # Indicarle a Windows que es un archivo disperso (Sparse) con fsutil fsutil sparse setflag $path fsutil sparse setrange $path 0 500MB |

