[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: saving file
From
"Carole J. Wilson" <[email protected]>
To
[email protected]
Subject
Re: st: saving file
Date
Thu, 12 Jul 2007 12:19:46 -0500
---reply
I believe ":" is an invalid file name in Windows.
--Carole
On 7/12/07, Abdel Rahmen El Lahga <[email protected]> wrote:
Hello,
I would like to save file with date and time in file name, but I have
some trouble.
for eg:
sysuse auto,
save "toto$S_DATE.dta"
Stata is ok and i obtain
file toto12 Jul 2007.dta saved
But when I type
save "toto_$S_DATE_$S_TIME.dta"
Stata gives the following message
file toto_19:04:26.dta could not be opened
any help?
--
AbdelRahmen El Lahga
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |