M
M
Maguars2021-05-05 19:14:47
cmd/bat
Maguars, 2021-05-05 19:14:47

Removing txt files from a folder using bat?

I need a batch file that, when launched, deletes all txt files from a certain folder, the path to which will be specified in the bat file

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2021-05-05
@Maguars

write the following to the file:
del /Q /F c:\my_directory\*.txt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question