![]()  | 
 
         
		
			
  | 
	
| Technobabble Post your general Need for Help questions here.
 • Lossy or Lossless? Moderators  | 
	
![]()  | 
	
	
| 
		 | 
	Thread Tools | 
| 
		 
			 
			#31  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
				
				Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)
			 
			Quote: 
	
 shntool len with txt file added to folder: @echo off %~d1 & cd %* for %%T in (shn flac wav ape) do if exist *.%%T shntool len -u mb *.%%T >> "%~n1-shntool.txt" No members have liked this post. 
		
		
	
	 | 
| 
		 
			 
			#32  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
				
				Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)
			 
			
			
			That did the trick - thanks  
		
		
		
		
		
		
			 
		
				__________________ 
		
		
		
You have been banned for the following reason: No reason was specified. Date the ban will be lifted: Never No members have liked this post. 
		
		
	
	 | 
| 
		 
			 
			#33  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)
			 
			Quote: 
	
 '{' flac - -8 -o %f '}' Make sure there is a space between each ' and the code before or after it inside the curly brackets. When I want to perform a fix and compress to a non-default level of flac compression, I make a custom batch file and I create the custom file type as a variable. This makes the code a little easier to read, and I can easily cut and paste from one batch file into another for other fixes. I create a variable called 'typ' (for file type) at the beginning of the batch file like this: set typ=cust ext=flac '{' flac -o %%f -V -8 - '}' I then use 'typ' as my shntool file format with the -o argument, like this: shntool fix -s r -o %typ% [input files] You can use the 'typ' variable with any shntool command. For a straight conversion, for instance, set the typ variable as above, then use a command such as the following: shntool conv -o %typ% *.shn No members have liked this post. 
		
		
	
	 | 
| 
		 
			 
			#34  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
				
				Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)
			 
			
			
			Very cool uhclem, thanks a lot!
		 
		
		
		
		
		
		
No members have liked this post. 
		
		
	
	 | 
| 
		 
			 
			#35  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
				
				Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)
			 
			Quote: 
	
 shntool fix -s b -o cust ext=ape '{' mac %f -c4000 '}' "Test 01.ape" "Test 02.ape" "Test 03.ape" Only some useless warnings / error messages showed up ("make sure that there is enough disk space + the specified output directory exists" and stuff like that). Can you give me a helping hand pls? No members have liked this post. 
		
		
	
	 | 
| 
		 
			 
			#36  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)
			 
			
			
			You didn't specify an input file inside the curly brackets. When working with a custom format the input should always be 'standard in' which is signified simply by a dash, '-' 
		
		
		
		
		
		
So try this inside the curlys and let me know if it works: mac - %f -c4000 No members have liked this post. 
		
		
	
	 | 
| 
		 
			 
			#37  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
				
				Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)
			 
			Quote: 
	
 No members have liked this post. 
		
		
	
	 | 
| 
		 
			 
			#38  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
				
				Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)
			 
			
			
			bumpity bump
		 
		
		
		
		
		
		
			
		
		
		
No members have liked this post. 
		
		
	
	 | 
![]()  | 
	
	
		
| The Traders' Den | 
			 
			Similar Threads
		 | 
	||||
| Thread | Forum | Replies | Last Post | |
| what does "dvd video files reallocation failed" mean? - chewie420 | Technobabble | 1 | 2006-03-04 03:07 PM | |
		
  | 
	
		
  |