mIRC Home    About    Download    Register    News    Help

Print Thread
#198182 22/04/08 06:35 PM
Joined: Feb 2006
Posts: 97
O
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.
ots654685 #198184 22/04/08 06:41 PM
Joined: Dec 2002
Posts: 2,962
S
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.

Link Copied to Clipboard