How to create a Batch file in Windows to delete Temp Files
-
Dear All, Can any one tell me how to create a Batch file in Windows to Delete files from Specific Folder in my local Machine say for Ex: E:/Temp/all files in it. Thanks & Regards, Jayaraman B
Jayaraman B
-
Dear All, Can any one tell me how to create a Batch file in Windows to Delete files from Specific Folder in my local Machine say for Ex: E:/Temp/all files in it. Thanks & Regards, Jayaraman B
Jayaraman B
You can use del command. But why don't you delete those files from your program? Or if you have not got a program and only a bat file then why did you post in this forum?
-
You can use del command. But why don't you delete those files from your program? Or if you have not got a program and only a bat file then why did you post in this forum?
The Program is some thing that we cant control(we dont own the code for it) Till now i delete my Temp Files and Cookies / Temp Internet Files every EOD because of the issues in the Programs in Web. Hence in need of this Batch file. Please revert wats the code to Delete the Temp files and Temp Internet Files through Bat file. Thanks in Advance.
Jayaraman B
-
The Program is some thing that we cant control(we dont own the code for it) Till now i delete my Temp Files and Cookies / Temp Internet Files every EOD because of the issues in the Programs in Web. Hence in need of this Batch file. Please revert wats the code to Delete the Temp files and Temp Internet Files through Bat file. Thanks in Advance.
Jayaraman B
Why don't you write a c# application? If you are writing bat file then it is not correct forum. Anyway you can do it like this: cd "path to folder" del /q * It will delete all files. If you write del /f /q * then it will force Force deleting of read-only files.