Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change current folder

Tags:

sas

I'd like to specify the current folder. I can find the current folder:

libname _dummy_ ".";
%let folder = %NRBQUOTE(%SYSFUNC(PATHNAME(_DUMMY_)));
%put &folder;

and change it manually by double clicking the current folder status bar, but I'd prefer to code it. Is this possible?

like image 615
Murray Avatar asked Jun 03 '11 01:06

Murray


People also ask

What is the current folder in MATLAB?

Description. The Current Folder browser enables you to interactively manage files and folders in MATLAB®. Use the Current Folder browser to view, create, open, move, and rename files and folders in the current folder.

How do I change directory in MobaXterm?

Launch MobaXterm. Click on the Settings tab, then choose Configurations. Click on the yellow folder icon in the line of Persistent home directory. Browse to the desired folder and click on OK.


1 Answers

Like this:

x 'cd <full path>';

for example

x 'cd C:\Users\foo';

SAS recognizes that a change directory command was issued to the OS and changes it's current working directory.

like image 71
fscmj Avatar answered Sep 21 '22 18:09

fscmj