system
August 24, 2006, 1:39pm
1
(imported topic written by ktang91)
i can use relevance language to get following results
q:values of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run” of registry as string
A: “C:\Program Files\Common Files\Symantec Shared\ccApp.exe”
A: C:\PROGRA~1\SYMANT~1\VPTray.exe
A: C:\PROGRA~1\COMMON~1\MICROS~1\IME\IMSC40A\IMSCMIG.EXE /Preload
A: “C:\Program Files\Adobe\Acrobat 7.0\Distillr\Acrotray.exe”
could i use relevance language to format the results such as,
C:\Program Files\Common Files\Symantec Shared\ccApp.exe
C:\PROGRA~1\SYMANT~1\VPTray.exe
C:\PROGRA~1\COMMON~1\MICROS~1\IME\IMSC40A\IMSCMIG.EXE
C:\Program Files\Adobe\Acrobat 7.0\Distillr\Acrotray.exe
BenKus
August 24, 2006, 2:40pm
2
(imported comment written by BenKus)
Hey Kevin,
Very tricky… On one of my computers, your query returns:
q:values of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run” of registry as string
A:
A: C:\Program Files\Intel\Wireless\Bin\ifrmewrk.exe /tf Intel PROSet/Wireless
A: C:\Program Files\ATI Technologies\ATI Control Panel\atiptaxx.exe
A: “C:\Program Files\Adobe\Acrobat 7.0\Distillr\Acrotray.exe”
A: “C:\Program Files\Google\Google Desktop Search\GoogleDesktop.exe” /startup
Using some string manipulations and tricks, I can get it to this:
q: (if (it starts with “%22”) then (following text of first “%22” of it) else it) of (preceding text of last “.exe” of it & “.exe”) of (it as lowercase) whose (it contains “.exe”) of (values of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run” of registry as string)
A: c:\program files\intel\wireless\bin\ifrmewrk.exe
A: c:\program files\ati technologies\ati control panel\atiptaxx.exe
A: c:\program files\adobe\acrobat 7.0\distillr\acrotray.exe
A: c:\program files\google\google desktop search\googledesktop.exe
Hopefully that works in all situations for you…
Ben