Hello,
currently I use the command cd to indicate the current directory. However, this approach is static and I would like to ask if it is possible to change it dynamically. I would like to automatically set the folder from which I open and run a do-file to be set as current directory. Therefore, if I send someone my data package (do-file and datasets) the do-file will run without complications and does not output an error message because the directory indicated in the do-file is different. I could not find a solution yet...
Thanks.
currently I use the command cd to indicate the current directory. However, this approach is static and I would like to ask if it is possible to change it dynamically. I would like to automatically set the folder from which I open and run a do-file to be set as current directory. Therefore, if I send someone my data package (do-file and datasets) the do-file will run without complications and does not output an error message because the directory indicated in the do-file is different. I could not find a solution yet...
Thanks.
Comment