This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
From the ADR tool
.adr file containing your instructions.Select File | Run. The Run Instructions dialog opens.

From the command-line
You need to know:
C:\My Documents\MetroDataReport.adr".Select Run from the Windows Start menu and enter:
Snap_executable_name /s Snap_survey_name /x instruction_adr_filename
replacing Snap_executable_name with the location of Snap, Snap_survey_name with the location and filename of the survey you are exporting data from and instruction_adr_filename with the location and name of the automated data report file you have created. The "/s" tells Snap that this is a survey, and the "/x" tells Snap that it is using an automated data report.
For example:
"c:\program files\snap\snap.exe" /s "C:\My Documents\snap\snmetro.mdf" /x "C:\My Documents\MetroDataReport.adr"
(You would need to put this all on one line when you are entering the command in Windows.)
Alternatively, this can be included in a Windows shortcut.
From a batch file
You must create the batch file from the ADR tool. You can then run it by double-clicking on it, or setting it up as a scheduled task.

You can set the batch file to run automatically by setting up a scheduled task in Windows. This is in Start | Programs | Accessories | System Tools | Scheduled Tasks.
Creating a batch file to run instructions on multiple surveys
Each DataReport file can contain export instructions for as ingle survey. If you want to run export instructions for more than one survey, you must create a DataReport file for each survey and use separate commands to run them.
For example, if you want to run c:\report1.adr on c:\snsurvey1.mdf, and c:\report2.adr on c:\snsurvey2.mdf
report1.adr, called c:\reportbatch.bat.report1 to report2 and change all references to survey1 to survey2.You now have a batch file that will start Snap twice. Firstly to run report1 on snsurvey1, secondly to run report2 on snsurvey2.
|
See Also |