Hi, I am new to the forum and looking for some help, i need a batch file that will delete log files. I need to delete all the .log files in two different locations C:\A\*\*.log and C:\A\*\log\*.log. Here’s the problem I am having, I need the batch file to go through all the folders in the C:\A\ directory. The folders are named randomly and may not contain the C:\A\*\log\ folder. I hope you can understand my problem, thanks for any help.
4 replies to this topic
#1
Posted 15 March 2011 - 03:23 PM
|
|
|
#2
Posted 15 March 2011 - 05:00 PM
You could do this fairly easily with a small program in Lazarus.
#3
Posted 15 March 2011 - 05:24 PM
Thank for replying WingedPanther, I am not sure what lazarus is. I would like to not have to install any software if possible to run any scripts. I have been told to try to use cywgin but I would have to install that on all the computers that are going to run the scripts and that would become a pain.
#4
Posted 16 March 2011 - 03:08 AM
Lazarus is basically an open-source, cross-platform clone of Delphi: Lazarus - News
You can build a single .exe that you could just run on each computer. I would NOT go with cygwin for something like this.
You can build a single .exe that you could just run on each computer. I would NOT go with cygwin for something like this.
#5
Posted 16 March 2011 - 02:55 PM
I am not really a programmer, so if someone could code it for me and I could compile it on my PC that would be awesome, thanks for any help.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









