Question: where are sql temp files stored?
Answer: The default temp path is "%USERPROFILE%\AppData\Local\Temp". Please see Control Panel\All Control Panel Items\System\Advanced System Settings\Environment Variables. Hi, Now when you launch the batch file, SSMS will use c:\newtemp to store the temporary files.