VB Code: Shell "cmd /k ping 127.0.0.1 >e:\ping.txt ", vbHide But cmd is still going to be loaded as a process.
Shell "cmd /k ping 127.0.0.1 >e:\ping.txt ", vbHide
Resource file basics A Faster way to search a file.. Asynchronous download VB.NET vs C# VB.NET vs C#
Originally Posted by Jmacp VB Code: Shell "cmd /k ping 127.0.0.1 >e:\ping.txt ", vbHide But cmd is still going to be loaded as a process. I was searching how to do this for quite some time... I was about to create a thread too.. Thanks a lot... It'd be great if you could elaborate what /k is. Also what does the > before the Location of the File mean?
Last edited by TheThinker; Dec 5th, 2012 at 11:15 AM.
Originally Posted by TheThinker Also what does the > before the Location of the File mean? It's called Redirection.
On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0 My CodeBank ContributionsDeclare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)
Forum Rules