Deleting files with no extension

Joined
Aug 1, 2015
Messages
44
Reaction score
0
I am using a batch script to delete all files in a folder, however it is not including files that have n extension, such as those in browser cache folders. Is there a way to delete these?

I was advised to use this string to delete all files in the folder:
FOR /D %%p IN ("D:\Backup\Programs\Browsers\Avant Sept 2016\profiles\.default\webkit\Default\Cache\*.*") DO rmdir "%%p" /s /q
 
Joined
Oct 26, 2016
Messages
2,398
Reaction score
702
I am not familiar with AVANT Browser but the path looks very similar to Firefox. Instead of deleting the cache, can you move the location of it??

Open the configuration of your browser (usually " about:config ") then look for browser cache. If there is not a path listed, create a new String that looks like this:

browser.cache.disk.parent_directory

the value of this string will be the path where you want to have the cache stored.

In the case you want to get rid of it alltogether, just set the cache size to zero.
 
Joined
Aug 1, 2015
Messages
44
Reaction score
0
I don't use Firefox, but finding out how to delete extensionless files would be the answer across all browsers.
 

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

Top