I've been trying to thin out and streamline a problem Win98 (1st edition) system using a remote connection by VNC. It's hard going, because the problem PC is on a standard dialup modem connection. I'm on broadband, but the screen refresh time lag makes it really difficult navigating the start menu, and frequently causes me to click the wrong shortcut and launch app's that freeze the system.
There's a lot of redundant start menu folders and shortcuts, and I was hoping to try and get a listing of the shortcuts and the targets they point to by running a batch file rather than having to check out the property pages of each shortcut one at a time.
I can get the target of a given shortcut into a text file using the command:
type "file name.lnk" | find /i "c:\" > linknames.txt
but I can't figure a way that would traverse through the start menu listing the *.LNK files and then acting on each one to give a list something like this:
C:\Windows\Start Menu\Programs\Prog1 Folder\Shortcut1.lnk
C:\Windows\Start Menu\Programs\Prog2 Folder\Shortcut2.lnk
I'm aware of the CHKLNKS.EXE program in the Win98 Resource Kit, but I would rather get a listing and verify at my end while offline that the start menu folders and shortcuts were no longer needed before then deleting them using a batch file created from the listing.
Any ideas? Maybe using the FOR command or something?
A small freeware utility program that could create such a listing would be a good alternative.