Facebook
From Gamboge Sloth, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 235
  1. @echo off
  2. echo nazwa pliku wsadowego to : %0
  3. echo argument a to %1
  4. echo argument b to %2
  5. if exist %1 del %1
  6. if exist %2 del %2
  7.  
  8. dir /os c:\windows\*.log >%1
  9. dir /os c:\windows\*.ini >%2
  10.  
  11. pause