$gettok - 05/12/08 09:55 PM
i am having a hard time getting the file path from a line, a few examples are below. i have no control of the format of the lines
but i need to get the path ie; "C:\Program Files\COMODO\Firewall\".
it gets tricky because of all the spaces, like "C:\Program Files\PSPad editor\" any one have a suggestion for me on this suject?
but i need to get the path ie; "C:\Program Files\COMODO\Firewall\".
it gets tricky because of all the spaces, like "C:\Program Files\PSPad editor\" any one have a suggestion for me on this suject?
Code:
0 +fs 1 0 0 C:\Program Files\COMODO\Firewall\cfp.exe +fs 0 0 0 344 +fs 0 0 0 1.71MB 0 +fs 2 0 0 C:\PROGRA~1\Comodo\CBOClean\BOC427.exe +fs 0 0 0 368 +fs 0 0 0 0.34MB 0 +fs 6 0 0 C:\Program Files\Dell\QuickSet\quickset.exe +fs 0 0 0 472 +fs 0 0 0 0.98MB 0 +fs 15 0 0 C:\Program Files\PSPad editor\PSPad.exe +fs 0 0 0 1808 +fs 0 0 0 3.56MB 0 +fs 14 0 0 C:\Firefox\App\firefox\firefox.exe +fs 0 0 0 2212 +fs 0 0 0 0.29MB 0 +fs 12 0 0 C:\mIRC\mirc.exe +fs 0 0 0 2516 +fs 0 0 0 2.68MB