To answer several posts. I have two drives: a slow high-capacity drive (s:) that holds many large datasets: ds1.sas7bdat, ds2.sas7bdat, ... a fast smaller-capacity drive (f:) that can hold the largest dataset on s: To work on a dataset, e.g., ds2.sas7bdat, I currently: delete all files on f: (to make room) copy s:\ds2.sas7bdat to drive f: (may take a long time) start SAS 9.4 for Windows in the Explorer pane, double-click on "This PC" navigate to f:\ds2.sas7bdat, and double-click on it (the data displays, allowing me to look at it, etc.) Instead, I like to write a .bat file for each dataset in s: to automate the above process. E.g., ds2.bat might contain: delete f:\*.* copy s:\ds2.sas7bdat f:\ (a command that starts SAS 9.4 for Windows, selects ds2.sas7dbat and opens it) I tried: "C:\Program Files\SASHome\SASFoundation\9.4\core\sasexe\sasoact.exe" action=Browse datatype=Data filename="f:\ds2.sas7bdat" but it didn't work. Regarding Tom's suggestion using -initcmd, I don't understand the 'libname here "." ...' term. My preference is to use a command that works without depending on any setting in the registry, or any Windows file type association, if that's possible. Thanks to all.
... View more