Hi:
I'm not sure what you mean by a "script". However, with SAS program code, you can absolutely direct your HTML output to a specific directory location.
cynthia
[pre]
ods html file='c:\temp\myfile1.html';
...sas code to generate output ....
ods html close;
OR
ods html path='c:\temp' (url=none)
gpath='c:\temp' (url=none)
file='myfile2.html';
....sas code and sas/graph code to generate output...
ods html close;
[/pre]
The first method is what you would use to create simple tabular output (no graphs) and your output would go to the fully qualified path name that is shown in the FILE= option.
The second method is the recommended method to use when you are going to create graphic output ... by using PATH= and GPATH=, you guarantee that any tabular and graphic output will be written to the desired location (in this case, the same location, c:\temp) and the URL=NONE option informs ODS HTML to build a relative anchor tag for any HREF information that it might use (such as in an <IMG> tag).
I find that, for me, this is the preferred method for controlling the location of all ODS output, rather than the Tools-->Options method because it gives me the most control over my program output.
cynthia