home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 68,048 of 68,980   
   R.Wieser to All   
   Re: How to create a file withe the name    
   01 May 23 12:33:29   
   
   From: address@is.invalid   
      
   Herbert,   
      
   > echo hello world>test.::$DATA   
   >   
   > :: the file can't be deleted with   
   > del test   
   > del test.   
      
   del test.::$DATA   
      
   doesn't work either.   
      
   Yep, you can create Alternate Data Streams, but thats pretty-much all the   
   support Windows has for it. :-|   
      
   > :: but only by deleting all test.* files with   
   > :: del test.*   
      
   del test?   
      
   also works and has a lesser impact.   
      
   But if you ever find yourself in that "can't delete" situation just move all   
   "test*" files to another, temporary folder, as it leaves the "can't find it"   
   file behind.  Delete the offending file (using a wildcard) and move the   
   moved files back.  Might even be put into a nice batchfile. :-)   
      
   It does make me think a long way back to DOS, where adding an, IIRC, ALT 254   
   (which didn't display) would cause similar "can't find, can't delete"   
   problems.   
      
   Regards,   
   Rudy Wieser   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca