Search found 19 matches

by autonicknan
04 Mar 2013 15:41
Forum: DOS Batch Forum
Topic: build a script via batch
Replies: 4
Views: 3959

build a script via batch

Hello, Does anyone knows if there is any way to build a scripting file via batch scripting. To be more specific, I have implemented some scripts in a scripting language, before running it I have to right click on a specific file and then press the build_all option. Any idea on how should I begin? Th...
by autonicknan
02 Mar 2013 02:04
Forum: DOS Batch Forum
Topic: Find and Replace a string of a file in all subfolders
Replies: 4
Views: 3753

Re: Find and Replace a string of a file in all subfolders

Thank you very much both of you.

Both answers were very helpful!!
by autonicknan
01 Mar 2013 13:21
Forum: DOS Batch Forum
Topic: Find and Replace a string of a file in all subfolders
Replies: 4
Views: 3753

Re: Find and Replace a string of a file in all subfolders

Hi again, Well after several tries I found out that the DO does not work when the calling command is in parenthesis () and moreover I noticed that in order to have some result the whole code concerning the FOR loop must be in one individual line like this: for /R C:\example\ %%G IN (kaka.txt) DO cal...
by autonicknan
01 Mar 2013 12:06
Forum: DOS Batch Forum
Topic: Find and Replace a string of a file in all subfolders
Replies: 4
Views: 3753

Find and Replace a string of a file in all subfolders

Hello Everybody, I need to implement a batch script that will access a file called kaka.txt and will replace the string DELAY(30*SEC) with DELAY(50*SEC). This file(kaka.txt) is at about under 100 subfolders. I need this modification to be applied at any kaka.txt file under these subfolders. Up to n...