How do I set the current working directory for Dyalog?

The Dyalog "Knowledgebase". This forum is read-only
Forum rules
The FAQ is a read-only forum which is in general updated only by employees of Dyalog Ltd. It replaces the FAQ page which existed under http://www.dyalog.com. Rather than rejecting other posts to this forum, such posts will be put in a moderation queue, and moved to a more appropriate forum.

How do I set the current working directory for Dyalog?

Postby Vince|Dyalog on Tue Jun 25, 2013 2:04 pm

You can set the current directory in the shortcut that starts Dyalog by right clicking on it and choosing Properties. On the Shortcut tab, edit the “Start in” field.

You can also set it under program control by using the SetCurrentDirectory function from the supplied files workspace:


Code: Select all
)load files
C:\Program Files (x86)\Dyalog\Dyalog APL 13.2 Unicode\ws\files saved Wed Jan 30 18:14:48 2013
     Files.SetCurrentDirectory 'c:\tmp\'
     Files.GetCurrentDirectory
c:\tmp
Vince|Dyalog
 
Posts: 260
Joined: Wed Oct 01, 2008 9:39 am

Return to Frequently Asked Questions (FAQ)

Who is online

Users browsing this forum: No registered users and 1 guest