How do I create a folder shortcut to my existing SAS files?
In SAS Studio, the default shared folder is Folders > My Folders. In your operating environment, this shared folder is called myfolders. If you have any existing SAS programs or data sets that you want to use in the SAS University Edition, you can copy these SAS files to the myfolders directory on your local computer. An example path on Windows is C:\SASUniversityEdition\myfolders.
However, if you have many files, you might want to create a folder shortcut instead. To ensure that this folder shortcut persists between sessions and when the SAS University Edition vApp is updated, use the shared folder functionality in your virtualization software to create these folder shortcuts.
* If you create a folder shortcut by using the New Folder Shortcut feature in SAS Studio, your folder shortcut is not saved when you shut downt hte SAS University Edition vApp.
In this screenshot, the folder shortcuts are folder1, folder2, and folder3.
To create these folder shortcuts, complete the same steps that you completed to create the myfolders shared folder. The primary difference is that you can customize the names for these folder shortcuts. You do not need to use the folder1, folder2, and folder3 naming conventions.
To create a file shortcut called folder1 using VMware Workstation Player:
- In VMware Workstation Player, select the SAS University Edition vApp, and then click Edit virtual machine settings.
- On the Options tab, select Shared Folders.
- In the Folder sharing area, select Always enabled.
- To add a new shared folder, click Add. The Add Shared Folder Wizard appears.
- In the Name the Shared Folder step, click Browse. In the Browse for Folder window, select the folder (in this example, folder1) where you want to create the shortcut. Click OK.
|The name of the shared folder is case sensitive and should not include any spaces or special characters. If you use a network folder, do not include a backslash (\) in the name of the shared folder.|
- In the Specify Shared Folder Attributes step, click Finish.
- In the Virtual Machines Settings dialog box, click OK.
You can add these shortcuts before you start SAS Studio or while SAS Studio is running. If you add these shortcuts while SAS Studio is running, you must refresh the page in order for the folder shortcuts (for example, folder1) to appear in the navigation pane.
To reference this folder shortcut in a SAS program, use /folders/myshortcuts/folder-name.