Hi,
I'm trying to use local in my CD but it doesn't work.
I can do this :
It's working, but i want to use thoses local in an other do file. Something like this :
And in the do Test i've this cd "`directory'\Exports/`date_export'"
I want to CD to : C:\Users\...\ABC\Exports\20-10-14
So there is the error :
I have a main do file with the local and then many others do files with alls commands. I only want to change the main do file on date changes
Thanks !
I'm trying to use local in my CD but it doesn't work.
I can do this :
Code:
local directory="C:\Users\...\ABC" local date_export="20-10-14" cd "`directory'\Exports/`date_export'"
Code:
local directory="C:\Users\....\ABC" local date_export="20-10-14" do Test
I want to CD to : C:\Users\...\ABC\Exports\20-10-14
So there is the error :
Code:
. local directory="C:\Users\...\ABC" . local date_export="20-10-14" . do Test. . cd "`directory'\Exports/`date_export'" unable to change to \Exports/ r(170); end of do-file r(170); end of do-file
Thanks !
Comment