AS you will see, this has quite much to do with the last thread.
I have a variable %datafolder%, that has a path as value.
I want to create and add files to this path
How to ?
Edvard Korsbęk
AS you will see, this has quite much to do with the last thread.
I have a variable %datafolder%, that has a path as value.
I want to create and add files to this path
How to ?
Edvard Korsbęk
Edvard,
You only have to set the file location to %DATAFOLDER%.
File Properties -> General Tab -> Press "Location" button and select "Insert Variable"
Does this help?
Hi Friedrich!
I can see that it is possible.
Its too way out more complicated than in SB4, where I could make a folder in the files view based upon the variable and then move my files to that directory.
My main programme has + 300 printerfiles, and to be sure that they are all remembered....
Next is sub foldes to the data directory, i.e. %datafolder%/printerdef/1 etc.
If this is the only way to do it, I think that you should give it another thought .
Mfg
Edvard
Edvard,
How did you do this in SB4? You entered the variable to the Files and Folder list (lower left list), right?
1. Files and Folders screen
2. Add a new folder and enter %DATAFOLDER%
3. Add your files
4. Recompile.
Does this help?
To end this thread - Friedrich And I found out:
Strip the 3 first letters from %Datafolder% with the string functions MID and LEN- Should be placed immideately before 'Create folders'
Add a folder called %DATAFOLDER%
Thats it.
There are currently 1 users browsing this thread. (0 members and 1 guests)