Re: How to call Shell ("c:\del *.jpg")



MSDN:
=====================================================
' Specifying 1 as the second argument opens the application in
' normal size and gives it the focus.
Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator.
=====================================================

Could you please proive the example about this:
=================
Shell ("c:\del *.jpg")
=================

Thank you very much.

Best regards,
Boki.


"Veign" <NOSPAMinveign@xxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D:ev6uZGfAGHA.3456@xxxxxxxxxxxxxxxxxxxxxxx
> Press F1 or use MSDN online
>
> --
> Chris Hanscom - Microsoft MVP (VB)
> Veign's Resource Center
> http://www.veign.com/vrc_main.asp
> Veign's Blog
> http://www.veign.com/blog
> --
>
>
> "Boki" <bokiteam@xxxxxxxxxxxxxx> wrote in message
> news:%23xA9b2eAGHA.3496@xxxxxxxxxxxxxxxxxxxxxxx
>> Thanks, could you please advice for this example?
>> I don't know how to use that ..
>>
>> Best regards,
>> Boki.
>>
>>
>> "AGP" <sindizzy.pak@xxxxxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D:Z_pof.34167$q%.6132@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>> why dont you just use the VB command Kill()?
>>> AGP
>>>
>>> "Boki" <bokiteam@xxxxxxxxxxxxxx> wrote in message
>>> news:uYiLyteAGHA.3928@xxxxxxxxxxxxxxxxxxxxxxx
>>>> Hi All,
>>>> I wan to run a dos command as:
>>>> Shell ("c:\del *.jpg")
>>>>
>>>> Could you please adivce which statement is correct ?
>>>>
>>>> Thank you very much!
>>>>
>>>> Best regards,
>>>> Boki.
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


.


Quantcast