Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insufficient Stack Space
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00509484
Message ID:
00509504
Views:
29
>Insufficient Stack Space
>
>I have a backup procedure, as follow:
>
>
>OSHELL = CREATEOBJECT("WSCRIPT.SHELL")
>SCAN
> DESTINO = DIRDEST + ALLTRIM(ARQUIVO)
> DESTINO1 = DESTINO + [.ZIP]
> IF EXISTE("&DESTINO1")
> =DELETEMP("&DESTINO1")
> ENDIF
> EXEC = 'WZZIP -whs ' + IIF(THISFORM.COMBOMODO.VALUE=[NADA],'',ALLTRIM(FRMPRIN.COMBOMODO.VALUE)) + [ ] + iif(recursivo,[-EXPR ],[-EXP ]) + [-X@] + MVAR7 + [ ] + DESTINO + ' ' + ALLTRIM(DIRETORIO) + ALLTRIM(MASCARA)
>
> OSHELL.RUN('&EXEC',2,.T.)
>ENDSCAN
>
>
>The complete backup has about 280 files and now i receive the message error
>
>
>Insufficient Stack Space
>
>
>Anyone have a idea?
>
>
>trevisol

Why the "&" character? Why not simply the variable holding the file name to execute?
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform