All,
My python codes were generated from ModelBuilder. At the process of "Table To Excel" I need to have 2 parameters: File_Path and File_Name. So in "Properties" of Script, I add those 2 parameters but the parameter for File Path doesn't work. No error but file was saved to the "Scratch" folder. What step that I missed? Thanks for your help.

<SPAN class="comment token"># Model Environment settings</SPAN>
<SPAN class="keyword token">with</SPAN> arcpy<SPAN class="punctuation token">.</SPAN>EnvManager<SPAN class="punctuation token">(</SPAN>scratchWorkspace<SPAN class="operator token">=</SPAN>r<SPAN class="string token">"C:\ModelBuilder\Scratch\Output.gdb"</SPAN><SPAN class="punctuation token">,</SPAN> workspace<SPAN class="operator token">=</SPAN>r<SPAN class="string token">"C:\ModelBuilder\Scratch\Output.gdb"</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">:</SPAN>
Output_gdb <SPAN class="operator token">=</SPAN> <SPAN class="string token">"C:\\ModelBuilder\\Scratch\\Output.gdb"</SPAN>
<SPAN class="comment token"># Process: Table To Excel (Table To Excel) (conversion)</SPAN>
arcpy<SPAN class="punctuation token">.</SPAN>conversion<SPAN class="punctuation token">.</SPAN>TableToExcel<SPAN class="punctuation token">(</SPAN>Input_Table<SPAN class="operator token">=</SPAN>Parcels_Lots_DeleteIdentical<SPAN class="punctuation token">,</SPAN> Output_Excel_File<SPAN class="operator token">=</SPAN>ExcelFileName_xls<SPAN class="punctuation token">,</SPAN> Use_field_alias_as_column_header<SPAN class="operator token">=</SPAN><SPAN class="string token">"ALIAS"</SPAN><SPAN class="punctuation token">,</SPAN> Use_domain_and_subtype_description<SPAN class="operator token">=</SPAN><SPAN class="string token">"DESCRIPTION"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">if</SPAN> __name__ <SPAN class="operator token">==</SPAN> <SPAN class="string token">'__main__'</SPAN><SPAN class="punctuation token">:</SPAN>
SqftMapToExcelNewLoc<SPAN class="punctuation token">(</SPAN><SPAN class="operator token">*</SPAN>argv<SPAN class="punctuation token">[</SPAN><SPAN class="number token">2</SPAN><SPAN class="punctuation token">:</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>