Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
i have problems in visual c++ Win32.

How can i get full valid file path of random string values such as below strings with different switches ???
How can i delete other part of characters from string included different switches and get valid file path ???

C:\Program Files\Realtek\Audio\HDA\RAVCpl64.exe -s
C:\Program Files\Windows Sidebar\sidebar.exe /autoRun
C:\Program Files\Windows Sidebar\sidebar.exe -startup

Thank You...
Posted
Updated 20-Oct-13 21:07pm
v3
Comments
Captain Price 21-Oct-13 6:13am    
Your question is not clear.

1 solution

Try the splitpath[^] function.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900