Reply to Thread

Post a reply to the thread: Create a folder based upon a variable

Your Message

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

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 03-10-2005, 08:16 AM
    Edvard Korsbęk

    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.
  • 03-10-2005, 05:59 AM
    linder

    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?
  • 03-10-2005, 05:51 AM
    Edvard Korsbęk

    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
  • 03-10-2005, 12:21 AM
    linder

    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?
  • 03-10-2005, 12:17 AM
    Edvard Korsbęk

    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

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •