Auric__ said:
Windows creates PIF files for DOS programs.
To test your claim (under Windows XP) against a DOS-mode program:
- Loaded Windows Explorer.
- Go to %windir%\system32.
- Find edlin.exe (this hasn't changed in decades).
- Right-click on that executable file and select "Copy".
- Right-click anywhere in the blank space in the file list pane.
- Select "Paste Shortcut".
That creates a shortcut defined by a .pif file. Try the same test under
Windows 7 (assuming that edlin.exe is still available) to see whether a
..pif or .lnk file gets created for the shortcut on a DOS-mode program.
It is far more likely that the .pif file with which the OP is having
problems was not created as a new shortcut under Windows 7. Instead it
was carried along with all the other pollution by upgrading Windows
through consecutive versions or it got dropped into the file system by
the DOS program's installer (since it was coded for installs back in
Windows 3.1/9x/ME).
Since PIFs are even being mentioned means the OP is using a really old
version of AskSam. There's no guarantee that an ancient DOS-mode
version of a searchable freeform database program written back in the
hayday of Windows 3.1/9x will function properly under a much later
NT-based version of Windows.
I have to wonder if AskSam is abandonware since they list the following
system requirements:
Windows 95, 98, 98SE, 2000, ME, XP and Windows NT
at:
http://www.asksam.com/brochure.asp?file=products.ask&b=askSam Features...
Obviously that list of supported Windows versions applies to the LATEST
version of AskSam. The OP never mention which version he has. Could be
some ancient DOS-only version as evidenced by the presence of a .pif
file to load the program's executable. So it's also likely that the old
DOS-mode version won't work under Windows 7. "Regularly" doesn't say
how long the OP has been using the old version of AskSam on Windows 7
that AskSam doesn't support.
I tried downloading AskSam 7.0.2.143 (also listed as the last version
available from the AskSam site) from Softpedia.com but the asksam7.exe
was worthless. Turned out to be a WinRAR self-extracting archive file
that doesn't run a setup program. The files it dumps in a folder aren't
runnable as-is. I'd get an "application configuration is incorrect
error" that none of the compatibility settings worked for the shortcut
(that I had to create and which was a .lnk file instead of a .pif file).
So the OP is using an ancient version of AskSam that worked for awhile
under Windows 7 but apparently now the .pif file fails to load the
program. Time to delete and create a new .pif file.
The asksamsetup.exe download (notice the filename difference) from the
asksam.com site worked; however, downloads from there are VERY slow (and
why I first tried Softpedia). This latest version does NOT create a
..pif file for its shortcut. It creates a .lnk file (which replaced .pif
files back in Windows 95); however, it trails a space character at the
end of the shortcut's filename ("askSam 7 .lnk") which is not a good
idea (parsers may trim off leading and trailing spaces); however, it
works as-is for a Windows start menu entry.
When I right-clicked on the asksam.exe file, selected Copy, and then
used Paste Shortcut into a folder, I did *not* get a PIF file. Instead
I got a .lnk file. That's because the latest version of AskSam is NOT a
DOS-mode program. If the OP has a .pif file then it's been migrated
along with a lot of other pollution through a LOT of consecutive
upgrades of Windows for an old DOS-mode version of AskSam.
AskSam isn't cheap (for personal out-of-pocket cost) at $150 (new price;
don't know about upgrade prices) and probably why the OP has never
bothered to upgrade to a version of the program that actually supports
well the NT-based versions of Windows. The latest AskSam version is
dated back in early 2009 and the site dropped their forums for that
product, so it's possible it is abandonware (but they'll probably accept
money to buy the stagnant latest version). They probably found there
were plenty of freeware programs that could do the same thing so they
eventually lost their market. The folks in alt.comp.freeware might know
of a free alternative. The OP describing how he uses AskSam would help
in recommending alternatives rather than describing what all the product
can do. For example, if the OP is justing using AskSam to create a
hierarchical or tree list of notes and be able to search through them
than lots of PIMs or note programs could do that, like EssentialPIM. I
haven't ever used AskSam so I wouldn't know of what freewares to replace
it; i.e., there would've been no impetus for me to look for an
alternative of a program that I don't use. I don't see a good category
mentioned for this software at the software's site. Often neural or
schemeless databases to mash up data of different types from various
sources that is searchable have a problem trying to describe what they
do or how they work.
If deleting the old .pif file and creating a new one doesn't fix the
OP's problem, since the forums for the product are no longer provided,
and since it is unlikely the OP will find a current user of AskSam with
experience with the same problem, the OP should probably go to
asksam.com and get contact info from there. The problem is that the OP
is using such an old version of AskSam that the product's author may no
longer provide any support for it. When a product is no longer support
by its maker, the user becomes the product's support.