I am trying to convert a raster to ascii in ArcMap 10, but I can only get an output with the .txt file extension - even when I specify .asc Esri has named this .txt so it easily opens in a text editor from Windows (a good call, IMHO). If you need the .asc extension for some reason, you could use the Calculate Value tool to rename the file in ModelBuilder with a short python script: expression: newext(r"%output ascii txt%","asc") code: def newext(file,ext):
import os
newfile = os.path.splitext(file)[0] + "." + ext
os.rename(file,newfile)
... View more