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,053 of 68,980    |
|    R.Wieser to All    |
|    Re: How to create a file withe the name     |
|    02 May 23 10:30:47    |
      From: address@is.invalid              Herbert,              > :: To create a file with the name "test." on a NTFS       > :: file system use (testet in WIN10):       >       > echo hello world>test.::$DATA              I just found/realized you applied a two tricks there : Besides placing a       colon at the end of the "test" filename the "::$DATA" *looks* like an       alternate data stream reference, but the "hello world" text ends up in the       "test." file (and not the ADS). At least, not on my XP OS.              Also, a quick test replacing the "$data" with "$bla" shows that thats not       accepted. IOW, it looks like the "::$data" part is parsed as an ADS, but       than somehow discarded.              Microsoft : where"bugs with seniority" become "features". :-)              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