mIRC Home    About    Download    Register    News    Help

Print Thread
#37121 19/07/03 07:15 AM
Joined: May 2003
Posts: 3
X
Xilef Offline OP
Self-satisified door
OP Offline
Self-satisified door
X
Joined: May 2003
Posts: 3
Hi !
If I want to copy a file with mIRC, it doesn't work if I there are spaces in the path of the file to copy or in the new path.
How do you think about a new copy command, eg.

/copy $1(C:\path 1\filename) $2(C:\path 2\path ...\path N\newfilename)

Think about adding this command to mIRC smile

#37122 19/07/03 07:47 AM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
quote the filename
/copy "C:\path 1\filename" "C:\path 2\path ...\path N\newfilename"




#37123 19/07/03 07:47 AM
Joined: Dec 2002
Posts: 155
S
Vogon poet
Offline
Vogon poet
S
Joined: Dec 2002
Posts: 155
Try using quotation marks (" ").

This already works:

/copy "file with spaces1" "file with spaces 2"

AFTER EDIT: Similar post times... Oh well...

Last edited by Strider; 19/07/03 07:49 AM.
#37124 19/07/03 07:48 AM
Joined: May 2003
Posts: 3
X
Xilef Offline OP
Self-satisified door
OP Offline
Self-satisified door
X
Joined: May 2003
Posts: 3
Yes it works ! smile))) thank you. I didn't knew that bevore...

Last edited by Xilef; 19/07/03 07:52 AM.

Link Copied to Clipboard