but where do you place SHELL statements?

by (no login)

do they have to be near the beginning of a program like COMMON or DECLARE statements?

i looked at the link you supplied and checked out the COPY statement, but it really wasnt much help at all. there was NO mention of SHELL in the entire link, and every example of the commands i checked out looked as if they were typed in command-prompt, not in a QB program. or maybe im just reading it wrong?

Posted on Jan 20, 2010, 7:01 AM

Respond to this message   

Return to Index


Response TitleAuthor and Date
A SHELL statement can be place anywhere in the program. on Jan 20
 ok, i got SHELL to work on Jan 20
  Erase the "1 file copied" like this:Solitaire on Jan 20
   Use CLS 2 to clear a PRINT viewport area on Jan 20
    About CLS 0, 1, 2Solitaire on Jan 20
     * Galleon certainly knew about it. all three work perfectly in QB64. on Jan 20
     CLS 2 should be used inside the VIEW PRINT code before the close statement. on Jan 20
   Simpler way to erase "1 file copied."Moneo on Jan 20
    *Yes. Well done.Ben on Jan 20
    * Excellent! Good to know.Solitaire on Jan 20
    lol i like this one the best on Jan 21
     * Thanks guys. Glad you liked the ">nul".Moneo on Jan 21
  I love nul, but here's another way to do it... on Jan 20
   * Your a murderer! You KILLed two files! on Jan 20
    I could have just as easily SHELL DELled them, if that would make you happy. on Jan 20
* SHELL is not a DOS command. It allows you to run dos command lines in QB. on Jan 20