Author Topic: touch?  (Read 15644 times)

Andi B.

  • Hero Member
  • *****
  • Posts: 870
  • Karma: +14/-2
    • View Profile
Re: touch?
« Reply #15 on: November 28, 2023, 02:14:20 pm »
Quote
In 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.