--- Alex Peters <[EMAIL PROTECTED]> wrote:
> ; Local TempScrData, CmdLine, CRLF, TempScrPath, TempScrName
> ; TempScrData = Repeat("!", 290)
> ; --- all one line below
> TempScrData = TempScrData ++ ?'Esc(?"' ++
ReplaceChars(ReplaceChars(CmdLine, ?"\", ?"\\"), ?'"', ?"\X22") ++
?'", ?"\") ++ CRLF ++ Tab ++ ?"Quit" ++ CRLF ++ ?"; " ++ Repeat(?"_",
70) ++ CRLF, ?"A")' ++ CRLF ++ ?'Event.Create(5, 0,
?|File.DeleteNoRecycle(?"' ++ TempScrPath ++ ?'")| ++ CRLF ++
?|If(Not(ValidPath("' ++ TempScrPath ++ ?'")))| ++ CRLF ++
?"Event.DestroyThis")' ++ CRLF ++ ?"Else" ++ CRLF ++
?'Event.CreateMS(100, 1, ?"' ++ TempScrName ++ ?'")' ++ CRLF ++ ?"EndIf"
> ; --- all one line above

While waiting for Bruce's answer, how about trying to replace
"\" to "|":
ReplaceChars(ReplaceChars(CmdLine,?"|",?"||"),?'"',?"|X22")
++ ?'",?"|").

It's the only place I'm suspicious about atm.

Sean





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

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/
 



Reply via email to