"Create... create..."
But what must I do to obtain any special folder and DELETE part of it?
For example, I want obtain the Desktop, find all shortcuts to any progname, such as "C:\BlaBla\prog.exe /par1 ...", and delete.
Then, obtain the Startup folder, find all links to that progname, and delete.
I saw pbcc code example shown in http://www.powerbasic.com/support/pb...ad.php?t=23057 but, in first, there is hard mistake there (the construction IF p$<>" THEN is incorrect, doublequater need be shown as CHR$(34)). And in second, since 2001 there are many changes in win32api.inc.
I'm not guru enough with CoCreateInstance etc, maybe somebody solves such problem?
Regards, Alex Trenty
P.S. Sorry, I forgot to say about the platform. The result must work on 98SE/Me/2k/XP.

For example, I want obtain the Desktop, find all shortcuts to any progname, such as "C:\BlaBla\prog.exe /par1 ...", and delete.
Then, obtain the Startup folder, find all links to that progname, and delete.
I saw pbcc code example shown in http://www.powerbasic.com/support/pb...ad.php?t=23057 but, in first, there is hard mistake there (the construction IF p$<>" THEN is incorrect, doublequater need be shown as CHR$(34)). And in second, since 2001 there are many changes in win32api.inc.
I'm not guru enough with CoCreateInstance etc, maybe somebody solves such problem?
Regards, Alex Trenty
P.S. Sorry, I forgot to say about the platform. The result must work on 98SE/Me/2k/XP.
Comment