Subversion Repositories SvarDOS

Rev

Rev 1757 | Rev 1828 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1757 Rev 1805
Line 864... Line 864...
864
  if (fd == NULL) return(-1);
864
  if (fd == NULL) return(-1);
865
  fprintf(fd, "@ECHO OFF\r\nECHO INSTALLING SVARDOS BUILD %s\r\n", BUILDSTRING);
865
  fprintf(fd, "@ECHO OFF\r\nECHO INSTALLING SVARDOS BUILD %s\r\n", BUILDSTRING);
866
 
866
 
867
  /* move COMMAND.COM so it does not clashes with the installation of the SVARCOM package */
867
  /* move COMMAND.COM so it does not clashes with the installation of the SVARCOM package */
868
  fprintf(fd, "COPY \\COMMAND.COM \\CMD.COM\r\n");
868
  fprintf(fd, "COPY \\COMMAND.COM \\CMD.COM\r\n");
869
  fprintf(fd, "SET COMSPEC=%c:\\CMD.COM\r\n", targetdrv);
869
  fprintf(fd, "SET COMSPEC=C:\\CMD.COM\r\n"); /* POSTINST.BAT is executed after system is rebooted, so the system drive is always C: */
870
  fprintf(fd, "DEL \\COMMAND.COM\r\n");
870
  fprintf(fd, "DEL \\COMMAND.COM\r\n");
871
 
871
 
872
  /* copy packages */
872
  /* copy packages */
873
  for (i = 0;; i++) {
873
  for (i = 0;; i++) {
874
    RETRY_ENTIRE_LIST:
874
    RETRY_ENTIRE_LIST: