Apr 22, 2004 #1 GDameron Programmer Joined Aug 8, 2003 Messages 39 Location US Is there a way to discard the output of a command by redirecting its output to a "bit bucket"? (E.g., on Unix, one says: Code: my_command > /dev/null 2>&1 (or) my_command >& /dev/null depending on which shell is being used.) Is there an analogous BASIC syntax?
Is there a way to discard the output of a command by redirecting its output to a "bit bucket"? (E.g., on Unix, one says: Code: my_command > /dev/null 2>&1 (or) my_command >& /dev/null depending on which shell is being used.) Is there an analogous BASIC syntax?
Apr 23, 2004 #2 tsh73 Programmer Joined Apr 27, 2002 Messages 304 Location RU your_command>nul Upvote 0 Downvote
Apr 26, 2004 Thread starter #3 GDameron Programmer Joined Aug 8, 2003 Messages 39 Location US Thanks - that's the one variant (null, nl, nil, ...) I didn't try. Upvote 0 Downvote