Re: Copy Files



I copy data files as a backup on a regular basis - I assume you do mean that and not the program files. I have a table dd-files containing the name and locations of all the files. First, close data all, then use dd-files and scan it copying to back up. The close dd-files and copy that. Then reopen all files.

If you want to copy program files, as I also do during the build of a new application, then I use a separate application which does not load the files to be copied so the problem you face does not arise.


n article <eo5u51du6643hiirit1biv0b96no068rv1@xxxxxxx>, Jack Jackson <jacknospam@xxxxxxxxxxxxxxx> writes
On Thu, 14 Apr 2005 10:57:06 -0700, "Leon"
<Leon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi Everybody.

For some reason I never came across this problem before.
I created Exe that backs up files in my working folders.
Even though I run exe file, it cannot copy files that are part
of my exe. For example I have a form that is called CopyExe.scx.
My exe cannot copy files CopyExe.scx and CopyExe.sct. The same problem
I have with my classes that I am using inside of the form.
Does anyone know what can be the problem and how to overcome it?

Thanks in advance.

That's how VFP works. When you open a file, no matter what path you specify, if a file with the same name and extension is included in the .exe or .app VFP opens the one in the .exe or .app.

I don't know any way around this using VFP commands.  You probably
have to use Windows Explorer to access the files.


-- Tim Hobson .



Relevant Pages

  • Re: Write to Manifest Resource
    ... > The manifest resource stream is a part of your EXE EXEs and DLLs ... > Another reason is that if you give a component a strong name, ... > signature will no longer be valid. ... > Another reason is that many viruses work by modifying program files. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Write to Manifest Resource
    ... The manifest resource stream is a part of your EXE EXEs and DLLs ... Another reason is that if you give a component a strong name, a signature is ... Another reason is that many viruses work by modifying program files. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: BRC32 (borland) resource-file syntax question: Combine a #define with some more text.
    ... other than where the EXE is, in Program Files. ... Assuming you mean the folder where, among others, Tasm32 and brc32 are ... Maybe a set of icons shared ...
    (comp.lang.asm.x86)
  • Updating assemblies in Program Files
    ... The challenge is the limited rights to update .exe and .dll's in the Program Files folder. ... I have read that a solution could be to serialize the new assemblies to a safe location and then use a small program with ... Is this correct and will enabling this under a .NET 2.0 Windows Forms application have any sideeffects regarding Windows XP etc? ...
    (microsoft.public.dotnet.framework.setup)
  • Re: Tamper-proof way of storing files external to exe (images, configurationfiles etc)
    ... TIF or JPG. ... Like my programs use a number of data files I do ... What I'd like to do is load the information into a Resource file, ... updated data file means an updated EXE). ...
    (microsoft.public.vb.general.discussion)