file-copying Questions
2
Solved
I'm trying to create a directory and copy a file (pdf) inside a Parallel.ForEach.
Below is a simple example:
private static void CreateFolderAndCopyFile(int index)
{
const string sourcePdfPath...
Nubianubian asked 28/3, 2012 at 18:7
3
Solved
I am trying to perform a simple file copy task under Windows and I am having some problems.
My first attempt was to use
import shutils
source = 'C:\Documents and Settings\Some directory\My file....
Anastigmat asked 29/2, 2012 at 14:18
2
Solved
I am looking to copy files from a directory structure over to a new folder. I am not looking to preserve the file structure, just get the files. The file structure is such that there can be nested ...
Therewithal asked 7/2, 2012 at 23:34
2
Solved
I want to copy some text files, that are written by another app, but I don't want to do anything to prevent the other app. from writing to these files.
I am using File.Copy, from the System.IO nam...
Danell asked 26/11, 2011 at 9:31
5
Solved
The static method File.Copy(String, String) doesn't return a value. How can I know programatically if that function succeeded or not ? If there is no thrown exception, File.Copy goes well. But I am...
Underpinnings asked 29/10, 2011 at 9:14
4
Solved
tl;dr: I want to predict file copy completion. What are good methods given the start time and the current progress?
Firstly, I am aware that this is not at all a simple problem, and that predictin...
Waybill asked 6/10, 2011 at 7:9
4
Solved
I am relatively new to python. I am trying to copy a directory to another directory maintaining the structure.
I am using
shutil.copytree(src, dst, symlinks=False, ignore=None,
copy_function=...
Jeramie asked 10/8, 2011 at 14:43
1
Solved
I have a thread and a Progress Routine (a function) inside it (in my thread class).
I try to do this inside the thread:
CopyFileEx(pchar(ListToCopy.Strings[Loop]),pchar(TN+ExtractFileName(ListToC...
Teakettle asked 9/8, 2011 at 0:2
1
Solved
Is it possible and right to call CopyFileEx and CopyCallback/ProgressRoutine function (ProgressBar.Position will be synchronized) from a thread?
Can I declare CopyCallback/ProgressRoutine function...
Adorl asked 16/6, 2011 at 3:59
5
Solved
I've googled about this all over the Internet and still haven't found a solution. As an ultimate try, I hope someone can give me an exact answer.
I get that error when I try to copy a file from a ...
Blastula asked 6/6, 2011 at 21:41
2
Solved
I have created an msi setup file which includes some files in a "Sample" folder which should be copied to a temp folder. Anybody suggest how to do this?
Alary asked 6/12, 2010 at 6:15
2
Solved
I have a such code:
for file in file_list:
shutil.copyfile(file,newpath)
#do further actions
And here is the question, at #do further actions I use the copied f iles thus I need to make sure th...
Spool asked 29/6, 2010 at 13:49
2
Solved
I've searched the web and stackoverflow for this.
I want to copy multiple files from multiple sources to multiple destinations. I don't bother with UnauthorizedAccessExceptions yet - the files are...
Cordy asked 26/6, 2010 at 13:36
3
Solved
I have a web creation program which, when building a site, creates hundreds of files.
When the internet root folder is situated on the local pc, the program runs fine. If the internet root folder...
Economize asked 17/1, 2010 at 10:53
6
Solved
I have a huge directory of about 500k jpg files, and I'd like to archive all files that are older than a certain date. Currently, the script takes hours to run.
This has a lot to do with the very ...
Ozenfant asked 4/11, 2009 at 22:49
2
Solved
I need to load help files from my windows C# application and move/copy to other system (to its local drive). Application (same C# windows application) on the local system will use it for help.
Wh...
Epicurean asked 3/6, 2009 at 13:4
© 2022 - 2024 — McMap. All rights reserved.