Hi,
The following is taken from http://support.sas.com//rnd/base/ods/templateFAQ/ODS91.pdf
It talked about an issue similar to yours. Hope helps.
Setting a Default Path for HTML
You can set a default path for both the local files that get generated with ODS and well as the HTML files that get generated as a result of generating HTML by default. This is done by going to the Results tab
(Tools->Options->Preferences->Results ) and selecting HTML. The Folder box is used to either select or specify the folder that you want your HTML files to appear. Note: this selects the location for the default HTML files created and HTML file created with the ODS HTML statement. If you create HTML using ODS
HTML and you specify a path for the file, an error will error. This is because we prepend the path specified for the folder with the path specified with ODS. To specify a different path than indicated in the folder of the Results tab, use the ODS HTML PATH= option with the URL=NONE sub-option.
Below is the error that occurs if this is not done.
1 ods html file="c:\temp\temp.html";
NOTE: Writing HTML Body file: c:\temp\temp.html
ERROR: A component of c:\test\c:\temp\temp.html is not a directory.
WARNING: No body file. HTML output will not be created.
NOTE: Writing HTML Body file: sashtml1.htm
run;
... View more