Page 1 of 1
Open File > Create the File ? Turn it off???
Posted: Fri Aug 01, 2008 7:08 pm
by kingconfusion
When you go to open a file and type in a name, if that file doesn't exist, a dialog pops up asking, Create the File? Yes, No.
Is there a way to turn that dialog box off?
Thanks.
Posted: Sat Aug 02, 2008 12:54 pm
by ak47wong
No. What do you want it to do instead?
Andrew
File Open Query?
Posted: Sat Sep 06, 2008 4:20 pm
by rmayell
It would be nice if the 'confirmation' message that appears if you specify a file that doesn't exist could be turned off. As I generally use the command line (too much *nix), invoking TextPad with a new filename and having to confirm is a pain in the neck.
Posted: Sun Sep 07, 2008 2:37 pm
by rmayell
If you really want to get rid of this feature try invoking TextPad using the batch file below:
---------------------------------------------------------------------------
@ECHO OFF
REM No file specified
IF "%1"=="" GOTO LOADTPAD
echo %1 | find "*" > NUL
REM Filename contains a wildcard
IF "%errorlevel%"=="0" GOTO LOADTPAD
REM File exists
IF EXIST %1 GOTO LOADTPAD
REM File does not exist so create it
ECHO. >%1
:LOADTPAD
REM Load TextPad version 5
START "" /MAX "C:\Program Files\TextPad 5\TEXTPAD.EXE" -q %1
---------------------------------------------------------------------------
Ok, it isn't pretty but it does work.javascript:emoticon(':!:')