Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: Quick Saving

From   "Nick Cox" <>
To   <>
Subject   st: RE: RE: Quick Saving
Date   Mon, 15 May 2006 22:26:39 +0100

I don't know what Stata you are using. 

I am using Stata 9.2, in which -save <filename>- saves
to the current directory or folder unless otherwise
specified. I can't remember any other behaviour. 


Alex Ogan
> Is `c(pwd)' what you want?

Nuno Soares
> I was wondering if anyone  knows of a procedure that allows 
> the user to save
> the current dataset in the current working directory without 
> typing the all path, just the filename.
> If we don't specify the path, the -save- command saves the file in the
> default data directory. If we want to save in the current working
> directory
> (different from the default directory) I believe we have to write the
> complete path (which is extremely boring if we want to quick save
> several versions of the file after ).
> I've been trying to write a ado file that enables to do just 
> that, but I
> don't know if Stata has a command that retrieves the current 
> directory.
> The objective is to write a command like this: qksave filename.
> Can anyone help?

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index