Windows can't find "del" command

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I'm trying to run a batch file to delete some old log files and Windows is
saying it can't find "del" How di I fix this? It also can't find "erase".
Thanks!
Sue
 
Nepatsfan said:
In

There might be a problem with your Path environmental variable.

"del" is an internal command, same as "md, cd, copy", and is therefore
not dependent on the %path%.
 
Sue said:
Hi,
I'm trying to run a batch file to delete some old log files and Windows is
saying it can't find "del" How di I fix this? It also can't find "erase".
Thanks!
Sue

Let's have a look at your batch file!
 
In
Pegasus (MVP) said:
"del" is an internal command, same as "md, cd, copy", and is
therefore
not dependent on the %path%.

Thanks for the clarification.

Nepatsfan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

dos command window commands for del? 7
CMD can't find D: 10
delet file 2
need a bat to run FIRST thing 10
Batch file help 1
Windows 11 Windows 11 update 1
Uninstalling app correctly 2
Is there a stop command? 9

Back
Top