Multiple Script Arguments?

Posts: 27
Joined: Sat Oct 09, 2010 11:32 pm

Multiple Script Arguments?

Post by Chuckles » Tue Apr 12, 2011 7:19 pm

I can't seem to figure this out, I want to alter a script for moving items, but I require it to have multiple arguments, what is the proper syntax for giving a script multiple arguments?

I've looked all around and this doesn't seem to be covered anywhere, thanks.

Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)

Re: Multiple Script Arguments?

Post by mb » Tue Apr 12, 2011 9:45 pm

There is no special syntax. Arguments are separated with a space. E.g.:
arg1 arg2 etc

if your arguments contain spaces quote the arguments:
"arg1" "arg2"