Hello rsiebler, r> I am trying to convert this command into a do() startment:
r> "c:\Program Files\totalcmd\lister.exe" /i=%COMMANDERPATH%\totalcmd.ini" r> %var% I presume you want the %var% on the end of the one line so it is part of the command line parameter for lister.exe and it was Yahoo's wordwrap which put it on another line. Why do you want it to be in a do() statement? To put the command and/or the parameter in a variable I presume zcommand = ?"c:\Program Files\totalcmd\lister.exe" zparam = ?"/i=%COMMANDERPATH%\totalcmd.ini %var%" do(zcommand,zparam) This works too: do(?"c:\Program Files\totalcmd\lister.exe", ?"/i=%COMMANDERPATH%\totalcmd.ini %var%") ;; that is all one line If your %var% is actually trying to refer to a Powerpro var not to an environment var, then this should work: do(?"c:\Program Files\totalcmd\lister.exe", ?"/i=%COMMANDERPATH%\totalcmd.ini " ++ var) ;; that is all one line r> Everything I have tried has either resulted in a PowerPro r> error message or a Windows error message. That would be easier to answer if you quoted the messages! Without seeing them, one can only guess: The PowerPro error message could be caused by your syntax error of having an odd number of double quote characters. A Windows error message could be caused by either of the two environment variables, %COMMANDERPATH% or %arg%, not being set. If you have \ set as your escape char (standard configuration), then you need to put a ? in front of the quoted strings. Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
