I find it's convenient to get rid of that problem.
The easy thing to get to folder options You can 1) Go to control panel and click folder options 2) Open a folder, click the view menu, and choose folder options
Either way it's the same screen.
Now, in the middle tab, there is a checkmark about halfway in the viewable scrollbox that says something like "Hide extensions for known file types" Unclick that and click apply. Click OK.
This should show all extensions, except the .lnk and .pif extensions on their appropriate shortcuts, and therefore you can change the file type and not cause the problem you have all by using rename! Much better and understandable IMHO.
HTH, Jacob
Date: Mon, 14 Feb 2005 10:25:28 -0900 From: Tim Johnson <[EMAIL PROTECTED]> Subject: Re: [Tutor] Problems with test cgi script on windows XP/Apache To: Tim Johnson <[EMAIL PROTECTED]> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2
At 12:22 PM 2/13/2005, you wrote:I'm attempting to run a test cgi script on windows xp with apache
as the http server. I keep getting a not found error from IE, and the
error log shows the following error message.
No such file or directory: script not found or unable to stat: c:/program files/apache group/apache/cgi-bin/test.py
Another cgi script using a different interpreter (rebol) is running properly. I was receiving
the same error message with the rebol script until I corrected the first line (she-bang).
here is the code for the script:
#!d:\Python23\python
print "Content-type: text/html\n"
print "hello"
## I can confirm the the first line does contain the correct path to
## the python executable. I have tried it with and without the ".exe"
This has been solved. Classic, just classic. I had created a test script, and named it "test.py". Hah! windows renamed it "test.py.py", and it was obfuscated when I edited it. One could say either: 1)Dumb windows newbie or 2)Dumb windows strategy I'll leave that one up to the reader. ---- tim
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
__________ NOD32 1.998 (20050212) Information __________
This message was checked by NOD32 Antivirus System. http://www.nod32.com
__________ NOD32 1.998 (20050212) Information __________
This message was checked by NOD32 Antivirus System. http://www.nod32.com
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor