|
Answer» I have file which has some lines.. e.g.
line no 20 # EVERY Vagrant virtual environment REQUIRES a box to build off of. line no 21 config.vm.box = "test_15_4" line no 22 # The url from where the 'config.vm.box' box will be FETCHED if it line no 23 config.vm.box_url = "file:\\d:\\images\\test.box"
I have set a variable "replace = test_15_5".. and "SEARCH = config.vm.box"
I need a batch code which will search "config.vm.box" in file and replace next string "test_15_4" with %replace%.. Code should replace every occurrence in file.
Need this urgently... please help me...
|