You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ahmet Yanik <ah...@yahoo.com> on 2002/07/11 05:38:49 UTC

notepad cannot create .cgi file


Hi, 
   When I try to write (*.cgi) files with notepad,
it always add (.txt) at the end of the file:
   For example:
     instead of MYFILE.cgi, I am getting
MYFILE.cgi.txt

   Thanks for the help.
 
   Regards,

Ahmet

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: notepad cannot create .cgi file

Posted by Lewis Watson <li...@visionsix.com>.
----- Original Message ----- 
From: "Ahmet Yanik" <ah...@yahoo.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, July 10, 2002 10:38 PM
Subject: notepad cannot create .cgi file


> 
> 
> Hi, 
>    When I try to write (*.cgi) files with notepad,
> it always add (.txt) at the end of the file:
>    For example:
>      instead of MYFILE.cgi, I am getting
> MYFILE.cgi.txt
> 
>    Thanks for the help.
>  
>    Regards,
> 
> Ahmet
> 


Ahmet,
Change 'Save As Type' from .txt. to any/ all files ....
maybe this helps..
Lewis




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: notepad cannot create .cgi file

Posted by Ron Wingfield <rt...@archaxis.net>.
or, . . .rename it after saving as a .txt or .doc.  It's only spelling, nothing sacred.
  ----- Original Message ----- 
  From: c 
  To: users@httpd.apache.org 
  Sent: Wednesday, July 10, 2002 10:56 PM
  Subject: Re: notepad cannot create .cgi file



  Put the name between quotes when saving it:

  "test.cgi"



  ---------------------------------------------------------------------
  To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
  For additional commands, e-mail: users-help@httpd.apache.org



Re: notepad cannot create .cgi file

Posted by c <ca...@hotpop.com>.
Put the name between quotes when saving it:

"test.cgi"



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: notepad cannot create .cgi file

Posted by Octavian Rasnita <or...@home.ro>.
You have a lot of solution for that.

One of them is to put the whole file name between " and ".
Like:
"test.cgi"

The file will be just test.cgi and not test.cgi.txt.

A better method would be to use a good text editor, like TextPad, and it can
save the files with the Unix or Windows or Macintosh end of line.
In fact, if you will run the CGI scripts on a Unix machine, they won't work
if you will make them with Notepad.
Only if you will upload them as ascii.


Teddy Center: http://teddy.fcc.ro/
Mail: orasnita@home.ro

----- Original Message -----
From: "Ahmet Yanik" <ah...@yahoo.com>
To: <us...@httpd.apache.org>
Sent: Thursday, July 11, 2002 6:38 AM
Subject: notepad cannot create .cgi file




Hi,
   When I try to write (*.cgi) files with notepad,
it always add (.txt) at the end of the file:
   For example:
     instead of MYFILE.cgi, I am getting
MYFILE.cgi.txt

   Thanks for the help.

   Regards,

Ahmet

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: notepad cannot create .cgi file

Posted by Scott Brynen <sc...@brynen.com>.
This is a well known 'feature' of notepad.  The easiest thing to do is 
trash notepad, and replace it with editplus (www.editplus.com)



At 08:38 PM 7/10/02, you wrote:


>Hi,
>    When I try to write (*.cgi) files with notepad,
>it always add (.txt) at the end of the file:
>    For example:
>      instead of MYFILE.cgi, I am getting
>MYFILE.cgi.txt
>
>    Thanks for the help.
>
>    Regards,
>
>Ahmet
>
>__________________________________________________
>Do You Yahoo!?
>Sign up for SBC Yahoo! Dial - First Month Free
>http://sbc.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org

---
  * Put your spare computer time to good use..  Help Dogbert crack RC5-64
  * http://www.brynen.com/rc5.html



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org