John Gaughan wrote:
> Thomas Hruska wrote:
>> system("cmd /C \"C:\\Program Files\\Wireshark\\tshark.exe\" -r
>> C:\\input\\tcpdump.cap -R \"tcp.dstport==7275 && ulp.msSUPLPOS\" -V >
>> C:\\output\\dump.txt");
>>
>
> Nitpick: one should use the SHGetFolderPath function to retrieve the
> program files directory instead:
>
> http://msdn.microsoft.com/en-us/library/bb762181(VS.85).aspx
>
> Otherwise, the system call above will fail for people who have relocated
> their program files.
Given previous posts, I'm pretty sure this is for personal use.
Otherwise, I agree.
--
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197
*NEW* MyTaskFocus 1.1
Get on task. Stay on task.
http://www.CubicleSoft.com/MyTaskFocus/