<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: open a file on startup in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103233#M28935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry.&lt;/P&gt;&lt;P&gt;My SAS9.2 is under WinXP ,WinXP is too old I know. I can open the sas code easily.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2012 08:22:25 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2012-05-08T08:22:25Z</dc:date>
    <item>
      <title>open a file on startup</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103227#M28929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;every time I open SAS i have to press 'Ctrl+s' and then browse to the file with my sas code file, press open and it pops up in the editor window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this auto, like the default start-up file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 18:48:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103227#M28929</guid>
      <dc:creator>skipper</dc:creator>
      <dc:date>2012-05-03T18:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: open a file on startup</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103228#M28930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it the same file every time? Or the last one used? Do you want it to run on open or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you may want to try going to Tools&amp;gt; Options &amp;gt; Preferences &amp;gt; General and make sure that the 'Recently used file list' box is checked. And set a number in the box below immediately below for how many files you want to have available (I use 25). Then clicking on the File menu will bring up the recently used list where you can select a file, which should at least save time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 22:22:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103228#M28930</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-05-04T22:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: open a file on startup</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103229#M28931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try creating an autoexec.sas program that will automatically run when SAS starts and in this program have the statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DM 'include "mysasprogram.sas" ';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 22:35:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103229#M28931</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2012-05-04T22:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: open a file on startup</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103230#M28932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is an option you can specify before SAS starts&lt;/P&gt;&lt;P&gt;-initcmd&amp;nbsp; 'wedit "your sas program path\file.sas" '&lt;/P&gt;&lt;P&gt; specify it&lt;/P&gt;&lt;P&gt;on the command line&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;in a config file&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;in user environment variable&amp;nbsp; sas_options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For simplicity, I start SAS with no options, but specify that the folder in which it starts is my preferred place and there I create an empty sasv9.cfg file into which I would place that -initcmd option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 23:04:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103230#M28932</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2012-05-04T23:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: open a file on startup</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103231#M28933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can directly double-click this myprogram.sas file ,and SAS will open it for you defaultly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 03:11:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103231#M28933</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-05-07T03:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: open a file on startup</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103232#M28934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you running SAS in Win7?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run SAS on winVista32 which still suffers from the "old problem" caused by microsoft ole automation server. That handles the launching of registered file types and sets the "current folder" where SAS will start, as windows\system32!&amp;nbsp; I cannot normally write there, and I support legacy code which expects the current folder to be "writeable" (for example, to write a .log or .altlog file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are running SAS on win7, with your proposal "double-click this myprogram.sas file ,and SAS will open it for you defaultly", does the SAS session start in the folder of "myprogram.sas" or in the windows\system32 folder or somewhere else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;peterC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 16:24:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103232#M28934</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2012-05-07T16:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: open a file on startup</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103233#M28935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry.&lt;/P&gt;&lt;P&gt;My SAS9.2 is under WinXP ,WinXP is too old I know. I can open the sas code easily.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 08:22:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103233#M28935</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-05-08T08:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: open a file on startup</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103234#M28936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;I can test it on my pc W7 32b&amp;nbsp; with 9.3.0 and&lt;/P&gt;&lt;P&gt;if i modify the config file in nls\en to neutralize both&lt;/P&gt;&lt;P&gt;the&amp;nbsp;&amp;nbsp; -set MYSASFILES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and the eventual&amp;nbsp; -SASINITIALFOLDER &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i go starting from D:\tabsas&lt;/P&gt;&lt;P&gt;and rightclic&amp;nbsp; on the item "open with sas 9.3"&amp;nbsp;&amp;nbsp;&amp;nbsp; (sorry the double clic is acting with the sas universal viewer&amp;nbsp; 1.2)&lt;/P&gt;&lt;P&gt;the&amp;nbsp; program is opening in the enhanced pgm editor&lt;/P&gt;&lt;P&gt;indicating down at the limit&amp;nbsp; the directory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;D:\tabsas\&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;THEN&lt;/P&gt;&lt;P&gt;only seeing&amp;nbsp; File /&amp;nbsp; opening a program&amp;nbsp; shows&amp;nbsp; that it is&amp;nbsp; located at&amp;nbsp; ....&lt;STRONG&gt;My SAS Files\9.3\&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; d:\... in my case&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;only seeing&amp;nbsp; File /save as show a location&amp;nbsp; at &lt;STRONG&gt;d:\tabsas\&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;in the reverse ord&lt;/EM&gt;er&amp;nbsp; yet only seeing&amp;nbsp; but not acting on a button &lt;/P&gt;&lt;P&gt;File /&amp;nbsp; the save&amp;nbsp;&amp;nbsp;&amp;nbsp; shows &lt;STRONG&gt;d:\tabsas\&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and then File /&amp;nbsp; opening a sas program&amp;nbsp; shows&amp;nbsp; &lt;STRONG&gt;d:\tabsas\&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a discovery for me !&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; so the sequence you are opening items of the File Menu have effects!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 14:02:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/open-a-file-on-startup/m-p/103234#M28936</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2012-05-09T14:02:51Z</dc:date>
    </item>
  </channel>
</rss>

