Hey guys!

I made a little batch who searches a disk nammed "PRIZM", and copies the g3a in the batch's folder to this disk.
SO, just on a computer, name your calc "PRIZM", and here you go, you have an auto-copy for your projects!


Code:

@rem auto-copy by Eiyeron
@echo off
REM H,I,J,K,
SET /A ligneCourante=0

for %%i in (A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z) do (
   if exist "%%i:" (
      FOR /F "usebackq tokens=7* delims= " %%A in (`VOL %%i:`) DO (
        IF %ligneCourante%==0 (
         REM ECHO Nom: %%B

         if "%%B" == "PRIZM" (echo FOUND
         echo Found on %%i:
         xcopy  *.g3a %%i:\ /Y /Q
         pause
         exit
         )
        ) ELSE (
         
         REM ECHO Série: %%B
         
        )
       
        SET /A ligneCourante+=1
      )
   )
)

echo PRIZM not found. Did you called your Prizm "PRIZM"? DId you correctly plugged?


And See you soon, guys!
pause[/code]
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement