{"id":9901,"date":"2023-09-11T12:18:33","date_gmt":"2023-09-11T11:18:33","guid":{"rendered":"https:\/\/www.snapsurveys.com\/support-snapxmp\/?post_type=epkb_post_type_1&#038;p=9901"},"modified":"2025-11-24T16:42:17","modified_gmt":"2025-11-24T16:42:17","slug":"command-lines-for-snap-xmp-desktop","status":"publish","type":"epkb_post_type_1","link":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/","title":{"rendered":"Command Lines for Snap XMP Desktop"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Opening a survey<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong> Option <\/strong> <\/td><td><strong>Online\/Offline  <\/strong> <\/td><td><strong>Description <\/strong> <\/td><td><strong>Example<\/strong> <\/td><\/tr><tr><td><span style=\"font-family: inherit; font-size: inherit; font-weight: inherit; color: initial;\">&#8220;filename&#8221;  <\/span><\/td><td>offline  <\/td><td>   Opens with the survey filename. This is equivalent to double-clicking on the file. The operation distinguishes between MDF, ADF, TMDF files. <\/td><td>   &#8220;snap Desktop.exe&#8221; &#8220;snSurvey.mdf&#8221;  <\/td><\/tr><tr><td>    \/S  <\/td><td><\/td><td>   Opens the last used survey <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S <\/td><\/tr><tr><td>   \/S &#8220;filename&#8221;  <\/td><td>   offline  <\/td><td>   Opens the named survey. <\/td><td>&#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221;     <br>&#8220;snap Desktop.exe&#8221; \/S &#8220;c:\\myfolder\\snSurvey.mdf&#8221; <\/td><\/tr><tr><td>    \/S &#8220;path\\&#8221;  <\/td><td>   offline  <\/td><td>   Opens with the current survey overview folder set to path   Make sure to include the trailing &#8216;\\&#8217;. <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;c:\\myfolder\\&#8221; <\/td><\/tr><tr><td>   \/S {surveyid}  <\/td><td>   online  <\/td><td>Opens an online survey using the SOL id (a guid).  <br>Requires the server and account details to be set up first (including &#8220;remember credentials&#8221;)  <br>The {surveyid} can be found from &#8220;Tailor|Online Details&#8230;&#8221; when the survey is open. <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S {541963AE-B5AF-4D6D-95E8-804B196E5687}     <br><br>Make sure that you don&#8217;t use quote marks unless you have an <em>offline <\/em>survey named after a guid<\/td><\/tr><tr><td>   \/S #&#8221;filename&#8221;  <\/td><td>   online   <\/td><td>Use # to open an online survey using the display name in the root folder (&#8220;my work&#8221;)     <br>Requires the server and account details to be set up first (including     &#8220;remember credentials&#8221;) <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S #&#8221;snSurvey&#8221; <\/td><\/tr><tr><td>   \/S   #&#8221;path\\filename&#8221;  <\/td><td>   online   <\/td><td>   Use # to open an online survey, specify folder names from the root folder using backslash(\\)   Requires the server and account details to be set up first (including     &#8220;remember credentials&#8221;) <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S #&#8221;folder\\snSurvey&#8221;   <\/td><\/tr><tr><td>   \/S #&#8221;\\filename&#8221;  <\/td><td>   online    <\/td><td>   Use # with a leading backslash to open an online survey in <em>any<\/em> online folder.  <br>Requires the server and account details to be set up first (including     &#8220;remember credentials&#8221;)<br> If there is more than one match then the command line will fail. <\/td><td><p>\n  &#8220;snap Desktop.exe&#8221; \/S #&#8221;\\snSurvey&#8221; \n<\/p><p>\n  &#8220;snap Desktop.exe&#8221; \/S #&#8221;\\folder\\snSurvey&#8221;\n<\/p><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Repairing a survey<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Option <\/strong><\/td><td><strong>Secondary option  <\/strong><\/td><td><strong>Online\/Offline  <\/strong><\/td><td><strong>Description <\/strong><\/td><td><strong>Example<\/strong><\/td><\/tr><tr><td>     \/S <\/td><td>   \/R <\/td><td>   offline  <\/td><td>   Repair the named survey. <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/R <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Updating a survey<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Option <\/strong><\/td><td><strong>Secondary option  <\/strong><\/td><td><strong>Description <\/strong><\/td><td><strong>Example<\/strong><\/td><\/tr><tr><td>     \/S <\/td><td>   \/U <\/td><td>   Update the named survey. Opens, upgrades (if needed), syncs data cases if online, then closes.  <\/td><td>&#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/U    <br>\u201csnap Desktop.exe\u201d \/S \u201cc:\\myfolder\\snSurvey.mdf\u201d \/U <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Exporting and Importing a SNIF file<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Option <\/strong><\/td><td><strong>Secondary option  <\/strong><\/td><td><strong>Online\/Offline  <\/strong><\/td><td><strong>Description <\/strong><\/td><td><strong>Example<\/strong><\/td><\/tr><tr><td>     \/S   <\/td><td>   \/EX  <\/td><td>   offline  <\/td><td>Export the named survey to a SNIF file. <br>If no SNIF filename is specified, then the survey is exported to the clipboard.  <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/EX &#8220;snSurvey.sif&#8221; <\/td><\/tr><tr><td>    \/IS &#8220;filename&#8221;  <\/td><td><p>\n    \n<\/p><\/td><td>   offline  <\/td><td>   Import a SNIF file.   <\/td><td>   &#8220;snap Desktop.exe&#8221; \/IS &#8220;snSurvey.xml&#8221; <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Run a report<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Option<\/strong><\/td><td><strong>Secondary option  <\/strong><\/td><td><strong>Additional options  <\/strong><\/td><td><strong>Description <\/strong><\/td><td><strong>Example<\/strong><\/td><\/tr><tr><td>    \/S  <\/td><td>   \/B &#8220;batch&#8221; <\/td><td><p>\n    \n<\/p><\/td><td>   Execute the named batch report.    <br>The export method is specified by the current tailoring.  <\/td><td>    &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/B &#8220;bt1&#8221; <\/td><\/tr><tr><td><\/td><td><p>\n    \n<\/p><\/td><td>   \/F \u201cexpression\u201d <\/td><td>   Apply a filter. <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/B &#8220;bt1&#8221; \/F &#8220;Q1=1&#8221;  <\/td><\/tr><tr><td><\/td><td><p>\n    \n<\/p><\/td><td>   \/N \u201cprintname\u201d <\/td><td>   Specify the Name of the print job. Only useful when using a program like Ghost script to turn the job name into a file name <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/B &#8220;bt1&#8221; \/N &#8220;output.pdf&#8221; <\/td><\/tr><tr><td><\/td><td><\/td><td>   \/C q = &#8220;val&#8221; <\/td><td>   Specify the value of  q@<strong>c<\/strong>ontext <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/C q1=1 \/C q2=&#8221;example&#8221; \/B bt1 <\/td><\/tr><tr><td><\/td><td><p>\n    \n<\/p><\/td><td>   \/XS     &#8220;filename&#8221; <\/td><td>   Specifies the e<strong>X<\/strong>ternal <strong>S<\/strong>urvey when running a suitable batch report  <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/XS &#8220;snBenchmarks.mdf&#8221; \/B bt1 <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Print from the Questionnaire window<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Option <\/strong><\/td><td><strong>Secondary option  <\/strong><\/td><td><strong>Additional options  <\/strong><\/td><td><strong>Description <\/strong><\/td><td><strong>Example<\/strong><\/td><\/tr><tr><td>   \/P \u201cfilename\u201d <\/td><td><\/td><td><\/td><td>Print questionnaire design window <\/td><td>   &#8220;snap Desktop.exe&#8221; \/P &#8220;snSurvey.mdf&#8221; <\/td><\/tr><tr><td>    \/S  <\/td><td>   \/P <\/td><td><p>\n    \n<\/p><\/td><td>Print questionnaire design window <\/td><td>    &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/P <\/td><\/tr><tr><td><\/td><td><\/td><td>   \/V <\/td><td>   Print values from the raw data (data view of design window, all cases) <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/P \/V <\/td><\/tr><tr><td><\/td><td><\/td><td>   \/V &#8220;dbLink&#8221; <\/td><td>   Print values from the named data base link (Panel data view of design window, all cases)     data link must be an &#8216;import all cases&#8217; type. dbLink name is case sensitive.  <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/P \/V &#8220;Customer Details <\/td><\/tr><tr><td><\/td><td><p>\n    \n<\/p><\/td><td>   \/V \/F \u201cexpression\u201d <\/td><td>   Apply a filter. <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/P \/V \/F &#8220;case &lt;= 10&#8221; <\/td><\/tr><tr><td><\/td><td><\/td><td>   \/V \/O sep &#8220;dbLink&#8221; <\/td><td>   Print panel view data cases separated into separate print jobs <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;Survey.mdf&#8221; \/P \/V \/O sep <\/td><\/tr><tr><td><\/td><td><p>\n    \n<\/p><\/td><td>   \/ED &#8220;edition&#8221; <\/td><td>   Specify the edition to use in the design window. The name must be an exact match, including any spaces. <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/P \/ED &#8220;Paper: Keyed&#8221; <\/td><\/tr><tr><td><\/td><td><\/td><td>   \/L &#8220;lang&#8221; <\/td><td>   Specify the Language to use in the design window.      <br>Use either the name of the language or the 2 letter code. <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/P \/ED &#8220;Paper: Keyed&#8221; \/L &#8220;French&#8221;  <\/td><\/tr><tr><td><\/td><td><p>\n    \n<\/p><\/td><td>   \/N \u201cprintname\u201d <\/td><td>   Specify the Name of the print job. Only useful when using a program like Ghost script to turn the job name into a file name <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/P \/N &#8220;output.pdf&#8221; <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Run a database link<\/h2>\n\n\n\n<p>The additional options are only effective for online links in online overview.<br>The options also suppress the dialog and run the link.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Option <\/strong> <\/td><td><strong>Secondary option  <\/strong> <\/td><td><strong>Additional option<\/strong><\/td><td><strong>Description <\/strong> <\/td><td><strong>Example<\/strong> <\/td><\/tr><tr><td>     \/S <\/td><td>   \/DB &#8220;dblink&#8221; <\/td><td><\/td><td>   Execute a named database link from the data entry window. dbLink name is case sensitive. <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/DB &#8220;Customer Details&#8221; <\/td><\/tr><tr><td><\/td><td><\/td><td>\/O partAdd <\/td><td>Option to add participants<\/td><td>&#8220;snap Desktop.exe&#8221;\u00a0\/S #&#8221;folder\\snSurvey&#8221; \/DB &#8220;Customer Details&#8221; \/O partAdd <\/td><\/tr><tr><td><\/td><td><\/td><td>\/O partDelete<\/td><td><br>Option to delete participants<\/td><td>&#8220;snap Desktop.exe&#8221;\u00a0\/S #&#8221;folder\\snSurvey&#8221; \/DB &#8220;Customer Details&#8221; \/O partDelete <\/td><\/tr><tr><td><\/td><td><\/td><td>\/O partUpdate<\/td><td><br>Option to update participants<\/td><td>&#8220;snap Desktop.exe&#8221;\u00a0\/S #&#8221;folder\\snSurvey&#8221; \/DB &#8220;Customer Details&#8221; \/O partUpdate<\/td><\/tr><tr><td><\/td><td><\/td><td>\/O partReplace<\/td><td>Option to replace participants<\/td><td>&#8220;snap Desktop.exe&#8221;\u00a0\/S #&#8221;folder\\snSurvey&#8221; \/DB &#8220;Customer Details&#8221; \/O partReplace <\/td><\/tr><tr><td><\/td><td><\/td><td>\/O partNone<\/td><td>Option for no participant settings<\/td><td>&#8220;snap Desktop.exe&#8221;\u00a0\/S #&#8221;folder\\snSurvey&#8221; \/DB &#8220;Customer Details&#8221; \/O partNone<\/td><\/tr><tr><td><\/td><td><\/td><td>\/O dbinvites<\/td><td>Option to upload and replace invites and reminders<\/td><td>&#8220;snap Desktop.exe&#8221;\u00a0\/S #&#8221;folder\\snSurvey&#8221; \/DB &#8220;Customer Details&#8221; \/O partReplace \/O dbinvites<\/td><\/tr><tr><td><\/td><td><\/td><td>\/y<\/td><td>Suppress message boxes without logging<\/td><td>&#8220;snap Desktop.exe&#8221;\u00a0\/S #&#8221;folder\\snSurvey&#8221; \/DB &#8220;Customer Details&#8221; \/O partAdd \/y<\/td><\/tr><tr><td><\/td><td><\/td><td>\/Y<\/td><td>Suppress message boxes and record the messages and default answers in file SnapMessageLog.txt. <\/td><td>&#8220;snap Desktop.exe&#8221;\u00a0\/S #&#8221;folder\\snSurvey&#8221; \/DB &#8220;Customer Details&#8221; \/O partReplace \/O dbinvites \/Y<\/td><\/tr><tr><td><\/td><td><\/td><td>\/Y &#8220;filename&#8221;<\/td><td>Suppress message boxes and record the messages and default answers, with user specified location of the log file. <\/td><td>&#8220;snap Desktop.exe&#8221;\u00a0\/S #&#8221;folder\\snSurvey&#8221; \/DB &#8220;Customer Details&#8221; \/O partReplace \/O dbinvites \/Y &#8220;c:\\myfolder\\mylog.txt&#8221;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Open with a specified window<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Option <\/strong> <\/td><td><strong>Secondary option  <\/strong> <\/td><td><strong>Additional options  <\/strong> <\/td><td><strong>Description <\/strong> <\/td><td><strong>Example<\/strong> <\/td><\/tr><tr><td>    \/S  <\/td><td>   \/Q <\/td><td><p>\n    \n<\/p><\/td><td>   Open survey with the Questionnaire design window open <\/td><td>    &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/Q <\/td><\/tr><tr><td><\/td><td><\/td><td>   \/ED &#8220;edition&#8221; <\/td><td>   Specify the edition to use in the design window. The name must be an exact match, including any spaces. <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/Q \/ED &#8220;Paper: Keyed&#8221; <\/td><\/tr><tr><td><\/td><td><\/td><td>   \/L &#8220;lang&#8221; <\/td><td>   Specify the language to use in the design window.      Use either the name of the language or the 2 letter code. <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/Q  \/L &#8220;fr&#8221; <\/td><\/tr><tr><td><\/td><td>   \/D <\/td><td><\/td><td>   Open survey with the Data entry window open <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/D <\/td><\/tr><tr><td><\/td><td>   \/B <\/td><td><\/td><td>   Open the Batch reports overview <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/B <\/td><\/tr><tr><td><\/td><td>   \/T <\/td><td><\/td><td>   Open survey with the results overview window open (Tables)  <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/T <\/td><\/tr><tr><td><\/td><td>   \/W <\/td><td><\/td><td>   Open survey with the <strong>w<\/strong>eights overview window open. <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/W <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Running options<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Option <\/strong> <\/td><td><strong>Description <\/strong> <\/td><td><strong>Example<\/strong> <\/td><\/tr><tr><td>   \/y <\/td><td>   Suppress message boxes without logging <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221;  \/B bt1 \/y <\/td><\/tr><tr><td>   \/Y <\/td><td>   Suppress message boxes and record the messages and default answers in file SnapMessageLog.txt.    <br>The output file is in the &#8220;all users public documents&#8221; area, typically C:\\Users\\Public\\Documents\\Snap Desktop\\SnapMessageLog.txt, provided that the user has write access <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/B bt1  \/Y  <\/td><\/tr><tr><td>   \/Y     &#8220;filename&#8221; <\/td><td>   As above, but the user can specify the location of the log file.  <\/td><td>   &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; \/B bt1  \/Y &#8220;c:\\myfolder\\mylog.txt&#8221; <\/td><\/tr><tr><td>   -#num <\/td><td>   Selects a licence when multiple licences are available. &#8216;num&#8217; is the index of the licence file.  <\/td><td>   &#8220;snap Desktop.exe&#8221; -#1 <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">General considerations<\/h2>\n\n\n\n<p>\n  You may leave out speech marks, but they are always required if the value contains either a space or a forward slash &#8216;\/&#8217;. Note that &#8220;snap desktop.exe&#8221; contains a space, and so must appear within quotes.\n<\/p>\n\n\n\n<p>\n  Speech marks are always double quotes, single quotes are not supported.\n<\/p>\n\n\n\n<p>\n  Most options ignore case; however the case-sensitive options are: \/y, \/Y, \/DB \u201cdbLink\u201d, and \/V &#8220;dbLink&#8221; where the correct case has to be used for the \u201cdbLink\u201d name. \n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Return values <\/h2>\n\n\n\n<p>\n  The program returns 0 if the command line is successful. \n<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\n    0: Success  \n  <\/li>\n\n\n\n<li>\n    1: Unspecified Error  \n  <\/li>\n\n\n\n<li>\n    2: File Not Found  \n  <\/li>\n\n\n\n<li>\n    3: File Access Error  \n  <\/li>\n\n\n\n<li>\n    4: Data Error  \n  <\/li>\n\n\n\n<li>\n    5: Object Not Found  \n  <\/li>\n\n\n\n<li>\n    6: Process Aborted  \n  <\/li>\n\n\n\n<li>\n    7: Licence Error  \n  <\/li>\n\n\n\n<li>\n    8: Terminal Error  \n  <\/li>\n\n\n\n<li>\n    9: Repair Failed \n  <\/li>\n\n\n\n<li>\n    10: Validation Failed (eg SOL login) \n  <\/li>\n\n\n\n<li>\n    11: Action Not Supported (eg some command line options do not work with online surveys) \n  <\/li>\n\n\n\n<li>\n    Other value: Unexpected Error<strong> <\/strong>\n  <\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Opening a survey Option Online\/Offline Description Example &#8220;filename&#8221; offline Opens with the survey filename. This is equivalent to double-clicking on the file. The operation distinguishes between MDF, ADF, TMDF files. &#8220;snap Desktop.exe&#8221; &#8220;snSurvey.mdf&#8221; \/S Opens the last used survey &#8220;snap Desktop.exe&#8221; \/S \/S &#8220;filename&#8221; offline Opens the named survey. &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; &#8220;snap Desktop.exe&#8221; [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"epkb_post_type_1_category":[43],"epkb_post_type_1_tag":[228,229],"class_list":["post-9901","epkb_post_type_1","type-epkb_post_type_1","status-publish","hentry","epkb_post_type_1_category-manage-surveys","epkb_post_type_1_tag-export","epkb_post_type_1_tag-import"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Command Lines for Snap XMP Desktop | SnapSurveys<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Command Lines for Snap XMP Desktop | SnapSurveys\" \/>\n<meta property=\"og:description\" content=\"Opening a survey Option Online\/Offline Description Example &#8220;filename&#8221; offline Opens with the survey filename. This is equivalent to double-clicking on the file. The operation distinguishes between MDF, ADF, TMDF files. &#8220;snap Desktop.exe&#8221; &#8220;snSurvey.mdf&#8221; \/S Opens the last used survey &#8220;snap Desktop.exe&#8221; \/S \/S &#8220;filename&#8221; offline Opens the named survey. &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; &#8220;snap Desktop.exe&#8221; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/\" \/>\n<meta property=\"og:site_name\" content=\"SnapSurveys\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/snapsurveys\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-24T16:42:17+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@snapsurveys\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/\",\"name\":\"Command Lines for Snap XMP Desktop | SnapSurveys\",\"isPartOf\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website\"},\"datePublished\":\"2023-09-11T11:18:33+00:00\",\"dateModified\":\"2025-11-24T16:42:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Snap XMP Support\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp-archive\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Command Lines for Snap XMP Desktop\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/\",\"name\":\"Snap XMP Support Hub\",\"description\":\"Support documentation for Snap Surveys products\",\"publisher\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization\",\"name\":\"Snap Surveys\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg\",\"contentUrl\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg\",\"width\":867,\"height\":159,\"caption\":\"Snap Surveys\"},\"image\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/snapsurveys\",\"https:\/\/x.com\/snapsurveys\",\"https:\/\/www.linkedin.com\/company\/snapsurveys\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Command Lines for Snap XMP Desktop | SnapSurveys","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/","og_locale":"en_GB","og_type":"article","og_title":"Command Lines for Snap XMP Desktop | SnapSurveys","og_description":"Opening a survey Option Online\/Offline Description Example &#8220;filename&#8221; offline Opens with the survey filename. This is equivalent to double-clicking on the file. The operation distinguishes between MDF, ADF, TMDF files. &#8220;snap Desktop.exe&#8221; &#8220;snSurvey.mdf&#8221; \/S Opens the last used survey &#8220;snap Desktop.exe&#8221; \/S \/S &#8220;filename&#8221; offline Opens the named survey. &#8220;snap Desktop.exe&#8221; \/S &#8220;snSurvey.mdf&#8221; &#8220;snap Desktop.exe&#8221; [&hellip;]","og_url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/","og_site_name":"SnapSurveys","article_publisher":"https:\/\/www.facebook.com\/snapsurveys","article_modified_time":"2025-11-24T16:42:17+00:00","twitter_card":"summary_large_image","twitter_site":"@snapsurveys","twitter_misc":{"Estimated reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/","name":"Command Lines for Snap XMP Desktop | SnapSurveys","isPartOf":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website"},"datePublished":"2023-09-11T11:18:33+00:00","dateModified":"2025-11-24T16:42:17+00:00","breadcrumb":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/command-lines-for-snap-xmp-desktop\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.snapsurveys.com\/support-snapxmp\/"},{"@type":"ListItem","position":2,"name":"Snap XMP Support","item":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp-archive\/"},{"@type":"ListItem","position":3,"name":"Command Lines for Snap XMP Desktop"}]},{"@type":"WebSite","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/","name":"Snap XMP Support Hub","description":"Support documentation for Snap Surveys products","publisher":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.snapsurveys.com\/support-snapxmp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization","name":"Snap Surveys","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg","contentUrl":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg","width":867,"height":159,"caption":"Snap Surveys"},"image":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/snapsurveys","https:\/\/x.com\/snapsurveys","https:\/\/www.linkedin.com\/company\/snapsurveys"]}]}},"_links":{"self":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1\/9901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/comments?post=9901"}],"version-history":[{"count":7,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1\/9901\/revisions"}],"predecessor-version":[{"id":14973,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1\/9901\/revisions\/14973"}],"wp:attachment":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/media?parent=9901"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1_category?post=9901"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1_tag?post=9901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}