I have a Flex project that needs to make a folder in a file path if one does not already exist. This is for a log file function. The folder name is coming from a variable, and the MkDir command works fine except that it creates a folder name with single quotes around it. So for a folder name MYFOLDER, the actual folder in the drive directory is 'MYFOLDER'. Then when I try to create the text file using File System CreateTextFile, I get a path not found error. Is there a way to have a variable name the folder with out the quotes ending up in the folder name?
Cytec Corporation
rbrown@cyteccorp.com
Cytec Corporation
rbrown@cyteccorp.com