BookmarkSubscribeRSS Feed
jw23
Calcite | Level 5

I have installed everything correctly but as I don't have a "C" drive, how do I refer to the file that I CAN SEE in the My Folders tab in SAS Studio....I have been trying all sorts of combinations for the datafile line below:

 

proc import out=auto_csv
datafile = "Mac_HD\folders\myfolders\intro_auto.csv"
dbms=csv replace;
getnames=yes;
run;

2 REPLIES 2
Reeza
Super User
Right click the file in SAS Studio, select properties and you can find the path.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 690 views
  • 0 likes
  • 3 in conversation