dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 8 of 8

Thread: fOXPRO BUG??

  1. #1
    LORI Guest

    fOXPRO BUG??


    When ever i issue copy file command, it makes all letters small case. Is there
    a option in the vfp settings that I can change to make it copy the file the
    way it is? Some of the programs we use are case sensitive.

  2. #2
    Garrett Fitzgerald Guest

    Re: fOXPRO BUG??

    In article <3a79def1$1@news.devx.com>, LORI2-1@EXCITE.COM says...
    > When ever i issue copy file command, it makes all letters small case. Is there
    > a option in the vfp settings that I can change to make it copy the file the
    > way it is? Some of the programs we use are case sensitive.


    Not as far as I know. However, if you look into the Windows Script Host,
    you might find the functionality you need there.

    http://msdn.microsoft.com/scripting/

  3. #3
    Anders Altberg Guest

    Re: fOXPRO BUG??


    "LORI" <LORI2-1@EXCITE.COM> wrote in message
    news:3a79def1$1@news.devx.com...
    >
    > When ever i issue copy file command, it makes all letters small case. Is

    there
    > a option in the vfp settings that I can change to make it copy the file

    the
    > way it is? Some of the programs we use are case sensitive.


    o=create('scripting.filesystemobject')
    o.copyfile('yyy.dbf','YyY2.DbF')

    declare integer CopyFile in win32api string, string
    copyfile('YYY2.DBF', 'yYy3.dbF')
    declare integer MoveFile in win32api string, string
    Movefile('YYY3.DBF', 'yYy3,dbF')
    *MoveFile renames files.

    Case-sensative filename routines in Windows? How's that possible?

    -Anders






  4. #4
    Garrett Fitzgerald Guest

    Re: fOXPRO BUG??

    In article <3a7a0a8e@news.devx.com>, anders.altberg@swipnet.se says...
    > Case-sensative filename routines in Windows? How's that possible?


    If you're using a Unix machine to read the files, it's possible...

  5. #5
    Anders Altberg Guest

    Re: fOXPRO BUG??

    Yes, but banking on it!
    -Anders

    "Garrett Fitzgerald" <gfitzger@nyx.net> wrote in message
    news:MPG.14e3acf031ae85c4989689@news.devx.com...
    > In article <3a7a0a8e@news.devx.com>, anders.altberg@swipnet.se says...
    > > Case-sensative filename routines in Windows? How's that possible?

    >
    > If you're using a Unix machine to read the files, it's possible...




  6. #6
    Lori Guest

    Re: fOXPRO BUG??


    We use Auotcad and truss steel. The files they use are displayed differently
    depending on the upper or lower case letters.

  7. #7
    Anders Altberg Guest

    Re: fOXPRO BUG??


    "Lori" <lori2-1@excite.com> wrote in message
    news:3a7ab486$1@news.devx.com...
    >
    > We use Auotcad and truss steel. The files they use are displayed

    differently
    > depending on the upper or lower case letters.


    The API and Scripting functions will register filenames as you spell them.
    However, Windows filesystem is not casesensative and you can't have two
    files with the same name but spelled differently in a Windows folder. If
    you're using AutoCad under Windows two files with the same name but
    different upper/lower case spelling would also have to be in different
    folders. Unix' filesystem is case-sensative.
    ************************
    o=create('scripting.filesystemobject')
    o.copyfile('yyy.dbf','YyY2.DbF')

    declare integer CopyFile in win32api string, string
    copyfile('YYY2.DBF', 'yYy3.dbF')
    declare integer MoveFile in win32api string, string
    Movefile('YYY3.DBF', 'yYy3,dbF')
    *MoveFile renames files.
    ******************'

    -Anders





  8. #8
    Lori Guest

    Re: fOXPRO BUG??


    I just used dos command to copy and paste the files. It is copied and pasted
    the same. I don't know why vfp does not do this. If you know of any patches
    that will fix this, please let me know

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center