> Have you tested your script in a dos box? > cd\path to script\ > script name > errors.txt > > Peter > Peter: Thank you some more. My script is in C:\temp\sambar60-1\cgi-bin\ It is called x.pl. Here it is:[quote:d9555c8967]#!C:/Perl/bin/perl.exe -wT print "backslash n won't work for newline or backslash t for tab! \n"; print "Hello,World!\tHelloWorld!\nHello,World!";[/quote:d9555c8967]
In IE, http://localhost/cgi-bin/x.pl prints out one line only. The 'hash line' points to my installation in C:\Perl\ yesterday. If I open a DOS window on my Windows98 machine, and cd to C:\temp\sambar60-1\cgi-bin\ I can then do a DOS dir command and I see that x.pl is present. I then type x.pl>errors.txt and the DOS line says Bad command or file name if I type C:\temp\sambar60-1\cgi-bin\x.pl > errors.txt the same thing happens. Somebody told me to try ./x.pl or /x.pl>errors.txt but the same thing comes back: Bad command or file name. This script works from the browser, albeit without \n etc. I'm in way over my head, I think. My friend says she had a lot of problems like this in windows and I should find a UNIX server to use. Or Linux. ------------------------------------------------------- To unsubscribe please go to http://www.sambar.ch/list/
