Statalist The Stata Listserver


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

Re: st: I use different computers and lost track of my files


From   Sebastian Baumeister <[email protected]>
To   [email protected]
Subject   Re: st: I use different computers and lost track of my files
Date   Mon, 30 Oct 2006 11:53:22 +0100

you could use a global macro and then use. then you only have to change the macro var.

global p ""I:\mydata\stata\whatever1\"

use "$p\data.dta", clear

Oleksandr Shepotylo schrieb:


Hi dear statalist users,

I am using a flash drive with stata files on it. When I move from one computer to another computer, flash drive can change the name from, for example, "I:\" to "G:\" and I have to edit my files.
Is there a way to say to Stata the letter where the flash drive is located and put that letter in a macro that can be later used in my programms?

More generally, any tips on how to organaze the workflow when you move from one workplace to another?

Best

Oleksandr Shepotylo
*
* 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