Creating a file from TC?
Moderators: Hacker, petermad, Stefan2, white
Creating a file from TC?
One of the things I'm missing from TC is to create a file (text, document, etc.) like in Windows Explorer.
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
That does NOT depend on extension as TC has no options for different F4 editors, this thread is about editors, not viewers... There is only one standard behaviour for F4, default is notepad.
So if I don't wanna edit the new file with notepad but with some different editor there is always one window opened I have no use for and therefore I always have to manually close it.
Icfu
So if I don't wanna edit the new file with notepad but with some different editor there is always one window opened I have no use for and therefore I always have to manually close it.
Icfu
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
shift+F4 will indeed always edit the newly created file with the default editor. If you don't want this you should use the right click (like suggested by djk). To use the right button don't forget to change in the option the mouse selection mouse.
Sometimes I also want to create empty file so I encounter the same "issue".
Sometimes I also want to create empty file so I encounter the same "issue".
Alain
Workaround:
Make a new start menu entry, name it 'newfile' or whatever.
Command: cmd.exe /c @echo off>newfile.txt
After that redefine hotkey Shift-F4 to cm_usermenu1 (or whatever number the entry is) under Configuration-Misc.
Now a new file named newfile.txt will be created when pressing Shift-F4 in active panel.
Attention: An exisiting file named newfile.txt will be overwritten without confirmation!
For mouse lovers a button with 'cmd.exe /c @echo off> newfile.txt' will work, too, of course.
No internal command for making a new file? Would be somewhat better I think...
Icfu
Make a new start menu entry, name it 'newfile' or whatever.
Command: cmd.exe /c @echo off>newfile.txt
After that redefine hotkey Shift-F4 to cm_usermenu1 (or whatever number the entry is) under Configuration-Misc.
Now a new file named newfile.txt will be created when pressing Shift-F4 in active panel.
Attention: An exisiting file named newfile.txt will be overwritten without confirmation!
For mouse lovers a button with 'cmd.exe /c @echo off> newfile.txt' will work, too, of course.
No internal command for making a new file? Would be somewhat better I think...
Icfu
Maybecmd.exe /c @echo off>newfile.txt
...
Attention: An exisiting file named newfile.txt will be overwritten without confirmation!
cmd.exe /c @echo off>>newfile.txt
would take care of the overwriting issue?
HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.