News:

OS2World.com Forum is back !!!

Remember to visit OS2World at:
http://www.os2world.com

Main Menu

touch?

Started by Rick Smith, November 26, 2023, 10:11:17 PM

Previous topic - Next topic

Andi B.

QuoteIn linux I would just say touch newfile, then I could nano and edit it.
With OS/2 I would simlply say 'e filename' or on my systems where I'm used to med.exe 'med filename' or 'vs filename' or 'edit filename'. This opens the editor with the file filename even without the touch before. Guess nano would do the same without touch, does it?

You may see there are a lot of ways to do what you want. A simple 'dir >filename' creates a file too beside the other options already mentioned. But I know sometimes it's handy to have a touch.exe especially when porting software from nix. For that I often use OpenWatcoms wtouch.exe.