Skip to main content

All Questions

Tagged with
0 votes
0 answers
38 views

How to make robocopy overwrite files?

I cannot make robocopy overwrite files. I need to get copy speed stats on one big file but the file to copy is skipped once already copied : PS C:\> ls ~/Downloads/19041.1.191206-1406....
SebMa's user avatar
  • 1,883
0 votes
0 answers
353 views

Overwrite and not merge files when copying folders

I have a root directory C:\ROOT and this directory contains a number of subfolders, with names like these: C:\ROOT\Folder0001 C:\ROOT\Folder0002 C:\ROOT\Folder0003 ... C:\ROOT\Foldernnnn Each ...
Enrico Priotti's user avatar
1 vote
1 answer
2k views

(WSL) How avoid overwriting Windows hosts file

Bonjour, I looked from the web et got lots of solutions but none of them work. On Windows 11, I use Ubuntu 22.04 (WSL 2). I moved it on another drive. I also use Docker desktop and Devilbox (I can't ...
Sinedolo's user avatar
  • 121
4 votes
3 answers
3k views

How to wipe all data on HDD (Windows 10 system partition)?

I am a bit surprised that I didn't found a canoncial (= recommended by Microsoft) way of doing this by searching Google but here we are: I am tasked to delete all data safely from a Windows 10 ...
cluelessdeleter's user avatar
1 vote
1 answer
671 views

How to Zero out free space on a pen drive on Windows?

I am looking for commands or methods whereby I can just write all zeros to the free space on a Pen drive on Windows OS. The existing files should not be affected. There's a built in command called '...
rajeev's user avatar
  • 1,708
-1 votes
1 answer
55 views

How is this possibly recoverable?

I saw somewhere that there are some programs that "overwrite files more than once for more secure deletion". I don't understand this. If you overwrite the file once after deletion, or even before ...
Offtkp's user avatar
  • 193
1 vote
2 answers
10k views

Windows FTP - skip file if it already exists

I have a little script in Windows that opens up a connection to a web server and downloads all the files using mget. However, the mget constantly downloads the files even if they already exist. Is ...
jholmie2's user avatar
14 votes
3 answers
34k views

What does "type nul > somefile" do to "somefile" in Windows?

Specifically, does type nul > somefile overwrite the entire file on disk? I saw a batch script website recommend generating an FTP script on the fly and then "securely" erasing it with the command ...
wes's user avatar
  • 745
10 votes
4 answers
21k views

How do I delete a file that is in use by another process? [duplicate]

Possible Duplicate: How do I delete a 'locked' file? More specifically, I'm trying to rename or overwrite a file, and get the message Access Denied. Make sure the disk is not full or ...
Nick's user avatar
  • 423