I have have a working directory:

```
setwd("C:/Patient migration")

```

then I have other directories where I save my workspace data and where I get the source data from. 

```
C:/Patient migration/source data
C:/Patient migration/workspace

```

As this directories appear many times in the syntax (as part of a complete path name) and as other persons should be able to work with my syntax as well.
Such a directory later on in the syntax would look like this:

```
save (SCICases2010,file="C:/Patient migration/Workspace/SCICases2010.RData")

Data22 <- read.table(file = "C:/Patient migration/source data/DATA_BFS_MS_GEO_NiNo_2010_2.dat", sep = "|", header = TRUE)

```

Is it possible to change a directory once, for example in the beginning, so that all the same directories in the syntax further down will be changed as well?

My goal is that i can name the 2 or 3 directories in the beginning of my syntax. Other users can change those and consequently all the other directories somewhere in the syntax change as well.

Do you understand what I want to do? Are there probably smarter ways to do that?
I don't really want all this data in the working directory.

Hopefully somebody can help. Thanks a lot!