Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
C:\Users\GurceI\Downloads\WinVICE-3.2-x86\c1541.exe -attach %1 -dir > %2
if exist \Users\Gurcei\disk2\ (
  rmdir /s /q \Users\Gurcei\disk1
  rmdir /s /q \Users\Gurcei\disk2
  md \Users\Gurcei\disk1
  cp %1 \Users\Gurcei\disk1\
  cd \Users\Gurcei\disk1
  C:\Users\GurceI\Downloads\WinVICE-3.2-x86\c1541.exe -attach %1 -extract
) else if exist \Users\Gurcei\disk1\ (
  md \Users\Gurcei\disk2
  cp %1 \Users\Gurcei\disk2
  cd \Users\Gurcei\disk2
  C:\Users\GurceI\Downloads\WinVICE-3.2-x86\c1541.exe -attach %1 -extract
  cd \Users\Gurcei
  start bcompare.bat "c:\Program Files\Beyond Compare 4\BCompare.exe" \Users\Gurcei\disk1 \Users\Gurcei\disk2
) else (
  md \Users\Gurcei\disk1
  cp %1 \Users\Gurcei\disk1/
  cd \Users\Gurcei\disk1
  C:\Users\GurceI\Downloads\WinVICE-3.2-x86\c1541.exe -attach %1 -extract
  cd ..
)

...