Shell$
QuotedString = Shell ( String )
QuotedString = Shell$ ( String )
Quotes a string so that it can be safely sent to the
SHELL command.
Exemplo
'Esta rotina irá criar um arquivo na sua pasta pessoal com o nome de um arquivo "que é um estúpido nome 4 a file % $ !.txt"
'A string criada por Shell $ será impresso e o arquivo aberto.
Public Sub Form_Open()
Dim sString As String
sString = Shell$("que é um estúpido nome 4 a file % $ !.txt")
Print sString
Shell "echo " & sString & " >> " & user.home &/ sString
Shell "xdg-open " & User.home &/ sString
End
Veja também