Hey guys,
I wrote a script potentially useful to some windows-using friends. I just tried to test it on a windows machine and I discovered that I have no idea how to start it.
I changed the bang path to
#!C:pathtonewlisp.exe
then made a shortcut on the desktop to the script. nothing.
Once I get all the wrinkles ironed out I might make an exe, but first things first. What am I not doing?
I'm going to venture a guess that you're fairly new to the Microsoft Windows OS. ;)
Windows doesn't use the first line of text files to determine the executable that should be run with the script as an argument.
But like Linux-like OSs, you can run the script the straight-forward way using the command line
newlisp nameofscript.lsp
If you want the script to be run with a simple double-click of the icon, there are a few ways to do it. This is the most common approach:
"How to change or select which program starts when you double-click a file in Windows XP"
http://support.microsoft.com/kb/307859
"In Windows, how do I associate an application with a file type?"
http://kb.iu.edu/data/adhc.html
It's been a while.
Thanks, I'll try your suggestions.