Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Posts
    49

    Using a Variable to create a folder path

    Hi

    I am working on a project and am stuck trying to create the following.

    I have created a variable called UserName, which gets its information from the registry - this is working OK. However, I wish to use that variable to create a folder:-
    Folder.Create("D:\\MyDocs\\UserName\\My Documents") where UserName is replaced by the text within it.
    All syntax variations I have tried fail to reproduce correctly. Has anyone any ideas please?

    Thanks

  2. #2
    Join Date
    Mar 2006
    Location
    Corpus Christi, Texas
    Posts
    132
    Folder.Create("D:\\MyDocs\\"..UserName.."\\My Documents")

  3. #3
    Join Date
    Jan 2007
    Posts
    49

    Re: FolderCreate

    I didn't think of Concatanating it !

    Many thanks for a quick reply

Similar Threads

  1. folder create action, path chosen by user?
    By atman in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 07-19-2005, 01:11 PM
  2. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM
  3. HOWTO: Create a Page Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-26-2002, 05:20 AM
  4. HOWTO: Create an Empty Folder
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-21-2002, 03:21 PM
  5. PATH environment variable
    By RDodson in forum Setup Factory 6.0
    Replies: 4
    Last Post: 02-27-2002, 12:17 PM

Posting Permissions

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