mIRC Home    About    Download    Register    News    Help

Print Thread
#135649 14/11/05 08:56 PM
Joined: Jun 2005
Posts: 127
H
HAMM3R Offline OP
Vogon poet
OP Offline
Vogon poet
H
Joined: Jun 2005
Posts: 127
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?


-- HAMM3R (aka: alhammer)
http://www.HAMM3R.net
#135650 14/11/05 09:26 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
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)

#135651 14/11/05 09:39 PM
Joined: Jun 2005
Posts: 127
H
HAMM3R Offline OP
Vogon poet
OP Offline
Vogon poet
H
Joined: Jun 2005
Posts: 127
*face slaps*

Thanks!

Sorry for stupid question.


-- HAMM3R (aka: alhammer)
http://www.HAMM3R.net
#135652 15/11/05 04:08 AM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
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)

#135653 16/11/05 07:27 PM
Joined: Mar 2003
Posts: 8
D
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
D
Joined: Mar 2003
Posts: 8
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?

#135654 16/11/05 07:50 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Most commands can be prefixed with a . to make it silent:

.copy
.notice
.play

etc.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard