Jump to content

jjppark

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by jjppark

  1. I see that I had to use Beta 3 to get access to that function. Tried it...works great. Thanks for the help!
  2. Am I wrong or is the _FileListToArray not a defined AutoIt3 function? I can't seem to find reference to it.
  3. Excellent. I'll give it a try.
  4. Sure: c:\prefs.txt > C:\Documents and Settings\jjp\Application Data\Thunderbird\profiles\xpfcn5m2.default\prefs.txt The "xpfcn5m2" is the portion that varies and is the part I was representing with a wildcard character. Thanks again for helping me figure this out.
  5. The directory I listed is actually a single directory on each workstation. I want to copy the file into this directory (I'm running from a login script) except I only know the last portion of the directory name...the ".default" portion.
  6. The ".default" is the part of the directory name that is constant.
  7. The ".default" is the part of the directory name that is constant.
  8. I'm sure there is a simple explanation that I'm just not seeing. I need to include in my script a file copy to a destination path which includes several variable characters. That is, the last part of the path contains characters which vary from user to user. The following did not work successfully: $szFile = "c:\prefs2.txt" $workingdir = "C:\Documents and Settings\jjp\Application Data\Thunderbird\profiles\*.default\" FileCopy($szFile, $workingdir) The wildcard represents the part of the directory which changes from user to user. Please help. Thanks in advance.
  9. Larry, Sorry for the simple-minded question, but would you mind explaining the logic of the above script. It works great for what I'm using, but I can't figure out why it works. For example, the FileRead function and the FileWrite functions work differently than I expected. I'm a little new at this. Thanks in advance.
×
×
  • Create New...