How can i copy a file and rename to upper case file name? RRS feed

  • Question

  • i am using vfp 9 COPY FILE command to copy a file.

    i need to rename the file as upper case.

    for example:

    COPY FILE c:\test.txt TO c:\NEW.TXT


    but i found out that the copied file is a lower case file name. (new.txt) i want it to become upper case. (NEW.TXT) how can i do it?



    Wednesday, July 30, 2008 2:42 AM


  • oFSO = CREATEOBJECT("Scripting.FileSystemObject")

    Wednesday, July 30, 2008 4:47 AM