Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving files with SAS 1

Status
Not open for further replies.

dblan

MIS
Jul 6, 2007
58
US
Is there a way to have SAS move or copy/paste an Excel file from one location to another? For example, if I have a file at c:\temp\excel.xls and want to move it to g:\commonfolder\excel.xls.

Would I have to use VB for this?

thanks,
Dave
 
You can do this using this code:

Options noxwait;
x move "c:\temp\excel.xls" "g:\commonfolder\";

Enjoy, Kosa.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top