mIRC Homepage
Posted By: HAMM3R Copy a text file? - 14/11/05 08:56 PM
How can i copy a text file from one location to another? Ive tried /play and a few other commands. Also, the txt file is a channel log, and in time will grow to be quite large, so It needs to be able to handle alot of text. Anyone know of a command/method that's capable of doing this?
Posted By: MikeChat Re: Copy a text file? - 14/11/05 09:26 PM
literally /copy

/copy sourcepath\file.ext destinationpath\file.ext

use " " for file names\paths that have spaces

use copy -o to overwrite the file if it exists in the destination folder already (updating)
Posted By: HAMM3R Re: Copy a text file? - 14/11/05 09:39 PM
*face slaps*

Thanks!

Sorry for stupid question.
Posted By: MikeChat Re: Copy a text file? - 15/11/05 04:08 AM
no prob, I cant think of how many times I could remember that I had seen something in the help files that I needed to do, but couldnt think what it was called (hunting takes a long time sometimes)
Posted By: donn Re: Copy a text file? - 16/11/05 07:27 PM
Rather than start a new topic, I am wondering if its possible to silently copy a text file so that it doesn't output "* Copied C:\file.txt to D:\file.txt" each time I call the command?
Posted By: Riamus2 Re: Copy a text file? - 16/11/05 07:50 PM
Most commands can be prefixed with a . to make it silent:

.copy
.notice
.play

etc.
© mIRC Discussion Forums