Linked Questions

1 vote
0 answers
10k views

Im having an issue replacing DELTree command I wrote a small batch file like 12 years ago or something for windows xp and ME and I want to use it on windows 10 to clear TEMP files and PREFETCH and ...
user avatar
0 votes
1 answer
2k views

I have a batch script that goes and deletes all files and folders within the "Temp" folder of each users profile, without deleting the main directory. The script will delete the files just fine but ...
Run.Bat's user avatar
  • 105
-3 votes
1 answer
2k views

I want to delete files and folders from a folder by using cmd in windows.How can i do? And i need to copy a file and paste appending timestamp by time. Help will be appreciated Thanks!
Sree's user avatar
  • 7
0 votes
1 answer
3k views

I have a list of files and folders inside a directory. For example, .jazz or .project file after a checkout. I am using batch script currently, May I know how to remove .jazz or .project files from my ...
Kivi's user avatar
  • 545
0 votes
1 answer
553 views

I know, there are very similar questions to this, but I couldn't find the correct answer to this one. My folder structure looks like this: \Path\To\BaseDir \FolderToDelete1 \File1 ...
elaspog's user avatar
  • 1,729
0 votes
1 answer
245 views

I have a folder on my drive, which I regulary clean. It has only txt files with sql logs. How can I write batch script which is going to clean it when I run it ? What I mean is, I do not want to go to ...
Kamil 's user avatar
  • 11
175 votes
19 answers
567k views

I want to have a batch file that will delete all the folders and files in my cache folder for my wireless toolkit. Currently I have the following: cd "C:\Users\tbrollo\j2mewtk\2.5.2\appdb\RMS" del *....
user69514's user avatar
  • 27.8k
111 votes
12 answers
478k views

I use Windows. I want to delete all files and folders in a folder by system call. I may call like that: >rd /s /q c:\destination >md c:\destination Do you know an easier way?
ufukgun's user avatar
  • 7,211
100 votes
14 answers
374k views

Usually we delete the recycle bin contents by right-clicking it with the mouse and selecting "Empty Recycle Bin". But I have a requirement where I need to delete the recycle bin contents using the ...
user1016403's user avatar
  • 12.7k
88 votes
11 answers
94k views

In earlier versions of MS-DOS - I want to say version 7, but I could be wrong - there was a deltree command, which recursively deleted all subdirectories and files from a given path. deltree no ...
David Koelle's user avatar
  • 20.9k
74 votes
10 answers
88k views

Visual studio that won't be repaired... Everytime I want to compile an app on vs 2015 - it crashes. Even if I want to compile the main function or write somthing to it, there appears a window, which ...
Phastasm's user avatar
  • 904
32 votes
4 answers
44k views

How can I delete all files and folders from a given path? I tried this, but I'm unable to select the directories. <Target Name="CleanSource" Condition="$(path)!=''"> <Message Text="...
Pitming_Reloaded's user avatar
23 votes
1 answer
37k views

I try to understand how multiple commands in a single command line in a batch file work. dir & md folder1 & rename folder1 mainfolder And other case with similar commands, but & ...
Quanti Monati's user avatar
5 votes
5 answers
27k views

So, I should delete all node_modules in my project(I want that the node_modules folder become completely empty). Just removing folder manually does not suit me. I read that I can delete it with rm -...
Yerassyl Kelsingazin's user avatar
2 votes
2 answers
22k views

I was trying to delete C:\Users\%USERPROFILE%\AppData\Local\Temp and it shows the error: The filename, directory name, or volume label syntax is incorrect. This is the code: @Echo off del /s /q &...
Wolvee Youtube's user avatar

15 30 50 per page