Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id AF0EE9F9F75 for ; Fri, 8 Dec 2006 21:48:06 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 54190-01-2 for ; Fri, 8 Dec 2006 21:48:00 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from perth.mailnetwork.co.uk (perth.mailnetwork.co.uk [80.175.28.46]) by postgresql.org (Postfix) with ESMTP id CA7609F9392 for ; Fri, 8 Dec 2006 21:48:00 -0400 (AST) Received: from user-514f4514.l3.c3.dsl.pol.co.uk ([81.79.69.20]:2206 helo=[192.168.1.2]) by perth.mailnetwork.co.uk with esmtpa (Exim 4.63) (envelope-from ) id 1GsrJs-0007ob-1d for pgsql-admin@postgresql.org; Sat, 09 Dec 2006 01:48:04 +0000 Message-ID: <457A1632.6050507@mailnetwork.co.uk> Date: Sat, 09 Dec 2006 01:49:38 +0000 From: "Andy Shellam (Mailing Lists)" User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: .bat file to access postgreSQL command line from C:\ References: <20061209013216.65776.qmail@web90514.mail.mud.yahoo.com> In-Reply-To: <20061209013216.65776.qmail@web90514.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/94 X-Sequence-Number: 23886 > > ------------------------------------------------------------------------ > > For a long time, I did not know how to use notepad to save something > with a suffix other than .txt > and then someone showed me that if you "psql.bat" , and choose > allfiles type, then it will save with the .bat ending. Or, when you go to Save As in Notepad, wrap the filename in quotes, e.g. File > Save As > "pgsql.bat" This will tell Notepad that you've already added the extension and don't need .txt adding on as well. -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834