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

Back
Top