Hi, I'm looking to write a .bat file which can split a text file with three sections in it (with a blank line between each section) into 3 seperate files (one for each section). The length and content of each section varies but there is always a blank line between each section (2 blank lines...
thanks for your help johnwm
I was still having problems with this because the spaces were an issue in the text file produced (the text file is a batch file for a genetics program).
I managed to get around this using ^ although it took me a while to figure out that ^ was the "ignore" character I...
thanks for the reply John, I appreciate it. I just gave this a go and still doesn't seem to work...
When I run this bat file from the command line followed by 528 and 18 (my variables)
echo Input_Pedigree_File = pedin.%1%2> megabatch.txt
echo Input_Locus_File = datain.%1%2>> megabatch.txt
echo...
HI John, appreciate your comments. So this is intended to be a .bat file running in WindowsXP from the command line. The .bat is used to generate a file which allows me to automate linkage analysis (looking for genes that cause disease). So far I have:
echo Input_Pedigree_File=pedin.%1%2>...
First apologies for my ignorance
I'm trying to create a batch file which will create the following text file
Input_Pedigree_File=pedin.52821
Input_Locus_File=datain.52821
Input_Map_File=map.52821
Input_Untyped_Ped_Option=2
Analysis_Option=1
Analysis_Sub_Option=2
Chromosome_Single=21...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.