I don't think either is possible within EAC. You can try the following script. It removes path/drive info (if present) from every FILE "..." WAVE line, leaving just filenames, and also changes the .wav extensions to .ape. If it's already pathless or has a different extension there's no problem. If you delete the sub() line (4th), it removes the path but doesn't change the extension.
match($0, /FILE/) {
file = gensub(/FILE "(.*)" WAVE/, "\\1", "g")
s_file = strip_path(file)
sub(/\.wav/, ".ape", s_file)
print "FILE \"" s_file "\" WAVE"
}
!match($0, /FILE/)
function strip_path(path) {
n_elems = split(path, array, "\\")
return array[n_elems]
}
Usage:
type cuesheet.cue | gawk -f this-script-file-name > output.cue
move output.cue cuesheet.cue
(This has to be in two steps, otherwise input is truncated.)
gawk is available on many places in the Internet. e.g. example
If you make the following batch file, you can add it to the right-click menu of cue sheets.
type %1 | gawk -f c:\somewhere\this-script-file-name > %TEMP%\cuesheet-tmp.cue
move /y %TEMP%\cuesheet-tmp.cue %1