Post a reply to the thread: Create a folder based upon a variable
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Create a folder based upon a variable 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.
Re: Create a folder based upon a variable
Re: Create a folder based upon a variable 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?
Re: Create a folder based upon a variable 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
Re: Create a folder based upon a variable 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?
Create a folder based upon a variable 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
Create a folder based upon a variable
Forum Rules