For example the files in a computers windows directory and profile directory
that the application is running on. 4 2882
Not sure what you mean by "protected" ?
It's just no different than usual (ie. you can copy if you have the
appropriate rights, if the file is not exclusively lock etc...).
Have you tried your scenario ? What is the problem you have (error message)
?
Patrice
--
"Bishop" <Bi****@discuss ions.microsoft. com> a écrit dans le message de
news:BA******** *************** ***********@mic rosoft.com... For example the files in a computers windows directory and profile
directory that the application is running on.
Sorry, yes, I'm referring to the exclusive lock such as the windows registry.
Yes I've tried it with VB6/FSO and with VB.NET. I don't have the code
infront of me to see the error message but it indicates that it can't copy
the file because it's open.
I'm guessing that there is some way to do this because backup software is
able to do it.
"Patrice" wrote: Not sure what you mean by "protected" ? It's just no different than usual (ie. you can copy if you have the appropriate rights, if the file is not exclusively lock etc...).
Have you tried your scenario ? What is the problem you have (error message) ?
Patrice
--
"Bishop" <Bi****@discuss ions.microsoft. com> a écrit dans le message de news:BA******** *************** ***********@mic rosoft.com... For example the files in a computers windows directory and profile directory that the application is running on.
Not sure but they might save a backup copy that is maintained by windows. As
this version is not live it should work...
Unless writing a backup software, my personal preference is to delegate this
to a backup software rather than to add backup capabilities into a non
backup related application...
Sorry for the poor help...
Patrice
--
"Bishop" <Bi****@discuss ions.microsoft. com> a écrit dans le message de
news:EE******** *************** ***********@mic rosoft.com... Sorry, yes, I'm referring to the exclusive lock such as the windows
registry. Yes I've tried it with VB6/FSO and with VB.NET. I don't have the code infront of me to see the error message but it indicates that it can't copy the file because it's open.
I'm guessing that there is some way to do this because backup software is able to do it.
"Patrice" wrote:
Not sure what you mean by "protected" ? It's just no different than usual (ie. you can copy if you have the appropriate rights, if the file is not exclusively lock etc...).
Have you tried your scenario ? What is the problem you have (error
message) ?
Patrice
--
"Bishop" <Bi****@discuss ions.microsoft. com> a écrit dans le message de news:BA******** *************** ***********@mic rosoft.com... For example the files in a computers windows directory and profile directory that the application is running on.
Greetings Bishop,
Take a look at the System.IO Namespace, in special the File object.
There's a shared method Copy that copies one file to another location.
However it doesn't make bulk copies (ie, copy multiple files). for this
you should start thinking about multi-threads, in order to speed up, or
not (ie, the same way Windows Explorer does).
As for "exclusive locked" files, there's not much to be done. Not even
Backup Applications can open a file that's already open with an
"Excluside Lock". (Please, don't take my word on it, try it :)
Regards,
Paulo This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: durumdara |
last post by:
Hi !
I have some backup files on a server farm.
I want to store these local backup files on a backup file server for
"safety's snake".
These files are compressed zip files with 12 character length password.
But my system admin asked me, how can I improve the safety of the copy
operation, and the storing (now I use Samba share to store these files. I
map the SMB share on the client, copy these files, and unmap SMB).
|
by: Charles Morrall |
last post by:
I have no experience with DB2 as such, but I've been tasked with configuring
backup of a server running DB2 v8 on Windows Server 2003. I do have some
experience with backups in general though. The backup software I'll be using
is Backup Exec 10, but Backup Exec doesn't have a specific agent for DB2, as
it does for SQL and Oracle. The supplier of Backup Exec claims I can use the
Open File option of Backup Exec to backup DB2.
I find this a...
|
by: Deano |
last post by:
I'm experiencing bloat problems when I restore my backup files.
Users can take a look at the reports of any previous backup without having
to ensure they have a backup of their current data - this means I have to do
a silent backup of the existing database, restore the selected mdb, then
restore the silent backup when they are finished viewing the restored data.
To the user it appears that they are are just able to see reports relating
to...
|
by: Bishop |
last post by:
For example the files in a computers windows directory and profile directory
that the application is running on.
|
by: kebuchan |
last post by:
Hi all,
I know this is possible in Oracle but has anyone done it in DB2 and
could you maybe direct me to some documentation or let me know how I
would go about doing it?
In the oracle world you would basically need to do the following:
1. Set tablespace to backup mode
2. Copy associated data files to new directory/system
| |
by: hula |
last post by:
Hello
i'm looking for some tool to backup some data but as i don't seem to
find one that fits my needs i'll start implementing it by my own.
Here's some funktions i need to have:
- Backup between 1,5 to 2 million files/direcorties (150 to 250 GB)
- Backup all to a 'one-file-archive'. This could be a zip file e.g. on
an other disk or a networkdrive.
- Backup only modified files (date/size)
|
by: Samuel |
last post by:
I am trying to write a small utility program that backs up a list of
files/folders
I need to back up all files including those that are opened, is ther a way
of doing that? (it seems that backup programs are doing just that)
Thank you,
Samuel
|
by: rubbishemail |
last post by:
Hello,
do you know of any way to copy locked / opened files under win xp?
I know there is something like "Volume Shadow Copy" but I don't know
how to use it.
Maybe someone already has a python solution?
Many thanks
|
by: maheshkadam |
last post by:
Hi friends
I am new to perl so please guide me.
I have one application which created backup log file every day.But it appends that file so you can see logs for different day in one file only.
My requirement is to copy backup log for the specific day (yesterday) and write in other file.
That file will be mailed to admin for ready reference.
So here is some text from that log file
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |