Search found 3 matches

by davsank
31 Mar 2015 07:17
Forum: DOS Batch Forum
Topic: Text replacing Batch File
Replies: 4
Views: 2276

Re: Text replacing Batch File

thanks for the suggestion, however, I need a solution that does not involve any external scripts - a simple run and forget file without any other additions... It's as external as the script is that you are writing yourself, and has additional benefits also - it's robust and reliable. You can find i...
by davsank
31 Mar 2015 04:29
Forum: DOS Batch Forum
Topic: Text replacing Batch File
Replies: 4
Views: 2276

Re: Text replacing Batch File

thanks for the suggestion,
however, I need a solution that does not involve any external scripts - a simple run and forget file without any other additions...
by davsank
31 Mar 2015 04:01
Forum: DOS Batch Forum
Topic: Text replacing Batch File
Replies: 4
Views: 2276

Text replacing Batch File

I build a batch script that essentially looks for a ceratin entry in the hosts file and disables it by adding # before said value. it works by renaming the original file, then copying the information from the renamed file to a new file that names as the original. However, for some reason, it skips a...