SiLviu 3,611 Posted October 16, 2014 Share Posted October 16, 2014 (edited) O comanda simpla de PowerShell prin care verificam daca exista un fisier anume, apoi il stergem.1. Deschideti PowerShell:a) Start -> Programs -> Accesories -> Windows PowerShellsau Start -> Search Programs and Files -> Scrieti “PowerShell” -> Enter2. Copiati comenzile de mai jos. Cum sa stergi un fisier in PowerShell $NumeFisier = "C:\fisier_test.txt" IF (Test-Path $NumeFisier){ Remove-Item $NumeFisier } Edited October 16, 2014 by RF SiLviu Link to comment Share on other sites More sharing options...
Recommended Posts