Questions tagged [file-copying]

The filesystem operation whereby the contents of a disk file are duplicated exactly and stored in a different location. Questions concerning non-filesystem methods (e.g. using stdin and stdout) of file duplication are also acceptable.

735 questions
-1
votes
1 answer

copy data from one text file to another in real time using python?

I have a text file on sd card which I am reading through python. I want to copy contents of this file and save in another sd card, and as I make changes to original file it should reflect run time on the copied version in real time I went through…
Ajinkya
  • 1,797
  • 3
  • 24
  • 54
-1
votes
1 answer

Is it possible to copy any file character by character?

I mean file with any extensions from mp4 to docx with a filestream. If it's possible, how can I make it?
Kovoliver
  • 238
  • 2
  • 13
-1
votes
1 answer

Copy files to folder using java 7 copy file method

Hi I need to copy the files stored in an array to a folder in the destination using java 7 copyfilemethod. I donot get any error, but it doesnt copies the files.Please help to copy the files from source to destination folder.Thanks in advance public…
kiran
  • 1
  • 1
-1
votes
1 answer

FileSystemObject CopyFile: Unhanded Exception

I'm having a problem with using FileSystemObject.CopyFile. I think I'm using it correctly, from the forums I've read, but I am still getting the following compiler error: ArgumentException was unhandled: Value does not fall within expected…
user2644085
  • 157
  • 1
  • 2
  • 9
-1
votes
1 answer

PowerShell Iterate file contents matching filenames recursively in directory

I have a list of filenames organized like so: (search.txt) 2KJ34DS JSD92NS 1JNKD8A KO1N231 ASJDOA9 I have a directory organized like so: \\logs\ 20161201 .\ K2J3N4K.xml SDJNFK2.wav ASDN1JE.html 20161202 20161203 20161204 The contents of…
cw84
  • 85
  • 6
-1
votes
2 answers

Copying one file to another(Unix/C)?

I have written the following code to copy one file to another. Although the code works, the code still prints both error messages. Why is this ? I am a complete beginner to Unix and C programming(although I have worked with C++ before), so any help…
Jenna Maiz
  • 792
  • 4
  • 17
  • 38
-1
votes
1 answer

In Visual Studio 2013 copy files to the release directory only

I have some files in my project that are used for unit testing, and than files that will be used in the actual release. Currently have 'Copy to output directory' copy always turned on. Is there a more direct way to send only certain files to the…
Yogurt The Wise
  • 4,379
  • 4
  • 34
  • 42
-1
votes
2 answers

How to compare files while copying them to another directory?

I'm currently using the following snippet to go through millions of files in a very large directory and then copy the ones that I need into another working directory. sNos is an int[] which holds some integers. I check if the filename contains one…
sparta93
  • 3,684
  • 5
  • 32
  • 63
-1
votes
1 answer

Why System.IO.File.Exists doesn't take if else statement

I have if condition issues when running the following code for an image file: Dim mainFolder As String = "\\Users\No_Image_Available.png" Dim saveDirectory As String = "\\IMAGE\" Dim Filename As String =…
narue1992
  • 1,143
  • 1
  • 14
  • 40
-1
votes
2 answers

Copy a File to current login in users desktop Mac

I need a command or something that will allow me to send a file to the current logged in Mac user without manually setting this file location up. Can this be done? Example I have a file called test.app I want to copy this to the users desktop. I…
Kyle
  • 1
  • 1
-1
votes
1 answer

How to make the vba code to auto update by row?

I have many files in a folder, I have my code as below, is there any way to simplified my code so I do not need to keep copy and paste the same code but just continue updating the row number? Sub FetchData() Dim wbSource As Workbook Dim shSource As…
Kimberly
  • 45
  • 1
  • 1
  • 14
-1
votes
1 answer

How to copy one folder to all subfolders of another folder

Could anyone help how to copy one specific folder to each subfolder of another folder in applescript? Here is what I have based on Tim Joe's request. tell application "Finder" set _folder to choose folder set _destination to choose…
-1
votes
1 answer

Copying a file from a remote server

What I am trying to do is copying a file from a remote PC folder which is not shared. I wrote a code to connect to the PC using ManagementScope i executed some WMI queries in order to ensure that i am connected. Now the problem is when i execute…
user3106657
  • 95
  • 4
  • 11
-1
votes
1 answer

How can I move the files on unix with java?

I write java in netbeans.I want to move files and create files.When I run the program on netbeans it works. Files creates and moved. But when I run program on the jar it doesnot copy or move. I give permisson jar and files for read , write. But it…
CompEng
  • 7,161
  • 16
  • 68
  • 122
-2
votes
0 answers

Unable to copy file(s) from macOS to windows server using remote desktop. but when I click paste in windows server, it says 'unspecified error'

enter image description here I face this issue quite regularly after some days. Like this copy thing is working most of the time but then suddenly comes one bad day and I get this strange error when try to copy from macOS to windows server using…
1 2 3
48
49