home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / misc / 41828 < prev    next >
Encoding:
Text File  |  1993-01-10  |  1.2 KB  |  32 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!usc!cs.utexas.edu!natinst.com!news.dell.com!swrinde!ringer!mlevis
  3. From: mlevis@ringer.cs.utsa.edu (Mike Levis) (OS/2)
  4. Subject: Re: Zero-length files
  5. Message-ID: <1993Jan10.080524.12869@ringer.cs.utsa.edu>
  6. Organization: University of Texas at San Antonio
  7. References: <1ierslINNriq@usenet.INS.CWRU.Edu>
  8. Date: Sun, 10 Jan 1993 08:05:24 GMT
  9. Lines: 21
  10.  
  11. In article <1ierslINNriq@usenet.INS.CWRU.Edu> al919@cleveland.Freenet.Edu (Bruce Halco) writes:
  12. >
  13. >I can't find the original posting, but someone asked about
  14. >making zero-length files.  In DOS you can do this with
  15. >
  16. >    REM > FOO.BAR
  17. >
  18. >I haven't tried this in OS/2.  That can be an exercise for the 
  19. >reader :-)
  20.  
  21. This works under a DOS session in OS/2, but not in an OS/2 session.
  22. It seems that an OS/2 sessions *really* treats a REM statement as
  23. a REM statement.  To get around this in an OS/2 session, one way is:
  24.  
  25.    type FOO.BAR > FOO.BAR
  26.  
  27. -- 
  28. ======= Mike Levis   mlevis@ringer.cs.utsa.edu =======
  29. ::  ftp ftp-os2.nmsu.edu (128.123.35.151) for OS/2  ::  .--.
  30. ::  software & information.   Get /pub/os2/00Index  :: (OS/2)
  31. ::::::::  & /pub/os2/all/info/faq/faq20i.txt  ::::::::  ~--~
  32.