Simple, create a file called win.com in the root directory of the drive in which win 98 is installed. for eg: create a blank file "win.com" in C:\ drive. reboot ur PC & see, it will come till command prompt, executes Autoexec.bat & displays a message "Error loading exe file". Explanation is simple. The startup routine searches for a file called "win.com" (its actuall location is C:\WINDOWS) to load windows. It will look in directories specified in PATH environment variable. As we know current directory is the first directory to search, the root directory will be searched first for "win.com" & as we have created a blank file named "win.com" in root directory, it tries to load the file & finds an error in the .EXE header of that file. So, it displays a message like "Error loading exe file" & stops.
Ok, enough of fun. If u want to restore the normal execution, either change the directory to C:\WINDOWS & type "win" or delete the blank file we have created & reboot.
Ok, enough of fun. If u want to restore the normal execution, either change the directory to C:\WINDOWS & type "win" or delete the blank file we have created & reboot.
