Extending the Command Script

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

narayan
Platinum Member
Platinum Member
Posts: 1430
Joined: 2002 Jun 04, 07:01

Post by narayan »

No you are right. That example mixes two different stories. Actually it should concentrate on how to combine two or more commands with commas; and not mention that the combination is equivalent to ren DOS command. (That's not the point of that example).

That's what I meant by "needs to be reworded". This will be corrected in the next version.
Mr.Pleasant
Silver Member
Silver Member
Posts: 281
Joined: 2006 Dec 29, 12:56
Location: Utrecht, NL

Post by Mr.Pleasant »

Great! Looking forward to it  8)
gerald
Member
Member
Posts: 19
Joined: 2005 Jun 28, 11:30
Location: Germany

Post by gerald »

Since we started the discussion about how to combine two or more commands with commas, I have had the problem, that some programs in their command line options use a comma for specifying options.
E.g. I have used IrfanView (for cropping images) with a command line option like
/crop=(x,y,w,h)
To avoid having a new command lien I had to set up something like
/crop=(x#y#w#h)
and let xplorer2 create the script, then edit and change # to comma and the run the srcipt (even using a replace batch file).

Nikos, would it be possible to include an option in xplorer2 to use another character for separation (like # or something never used anywhere instead of the comma)?
This would help a lot.

Thanks
Gerald
User avatar
nikos
Site Admin
Site Admin
Posts: 15806
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

i think the escape is two commas in a row, i.e. if you want to have a comma inserted then put two of them
gerald
Member
Member
Posts: 19
Joined: 2005 Jun 28, 11:30
Location: Germany

Post by gerald »

Thanks Nikos, that helped.
Post Reply