mIRC Home    About    Download    Register    News    Help

Print Thread
Copy problem #198182 22/04/08 06:35 PM
Joined: Feb 2006
Posts: 97
O
ots654685 Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Feb 2006
Posts: 97
I have a line in my script that copy's some stuff to a place user picks but now i noticed it can't copy files to space separated dir's (google didn't help much)

Code:
/copy -o $scriptdir\* %destination

The output for %destination is correct C:\Program Files\ but the real copy process only reads C:\Program

Last edited by ots654685; 22/04/08 06:35 PM.
Re: Copy problem [Re: ots654685] #198184 22/04/08 06:41 PM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Use double quotes around the pathname.

Code:
/copy -o $qt($scriptdir\*) $qt(%destination)


Spelling mistakes, grammatical errors, and stupid comments are intentional.