What I'd like to do is parameterize the SPOOL path "C:\" so that in command line I can pass a path.
Sample script MyFile.sql:
SPOOL "C:\Temp\File.csv" --How do I parameterize this?
SELECT Column FROM Table
SPOOL OFF
CommandLine: SQL> @C\MyFile.sql --Would like to pass in a path here.