salut,
@echo off set num= set bin= set k= set /A num=%1,1/num 2>Nul || ( findstr /bl "::|" %0 exit /b 1) ::| ::| usage: prog::| ::| exemple: prog 2335 ::| :lp set /A k=num %% 2 set bin=%k%%bin% set /A num/=2 if %num% gtr 0 goto :lp echo %bin%
Aucun commentaire:
Enregistrer un commentaire