go to test->settings and set whatever settings u want to set and click on Generate Script button,and select a location for saving those settings.
next time if u want to open qtp with those settings just run the vbs file which u have saved. I think i have answred your question.
all my result files should be stored in some specified path,and all my Datasheets should be stored in some path..to set these i have to proceed through coding or is there any facility available to set from the QTP Screen.
Using a vbscript, you can create an application object of type QTP and set the path (ResultDir) to the desired value. Since "ResultDir" is a predefined Environment variable, u cannot change during script execution using qtp script.
Create automation objects before using it. This is how it goes...
Set qtApp=CreateObject ("QuickTest.Application")
qtApp.Visible = True
qtApp.Open "C:\yourQtpTestFolder", True
Set qtTest = qtApp.Test
qtTest .Settings.Environment.ResultsDir = "<Path>"