Resets the SPL search path to the startup default.
A string, the new full SPL search path.
path = getmiscpath(1, 7) + "mypath";
copyfile("readme.txt", path + "\newreadme.txt");
p1 = which("newreadme.txt", 0);
p2 = which("newreadme.txt", 0);
Creates a folder named
mypath within the user
Documents and Settings folder and copies the
readme.txt file to the folder as
newreadme.txt. The folder is added to the SPL search path.
newreadme.txt on the augmented search path and assigns the containing folder name to variable
RESETSPLPATH removes the added custom path component. WHICH does not locate
newreadme.txt and assigns an empty string to variable
The SPL search path is searched for SPL functions, modules and user menus. RESETSPLPATH removes any added path components and resets the SPL search path to the startup default.
See ADDSPLPATH to add custom paths to the SPL search path.