Find Last HEX created easily in Arduino 1.0 with Windows command file
here easy script can use (xp tested, put in other root folder vista/win7 , edit required... change cd \ , location of hexrhere file, etc.)
put icon shortcut on desktop , locate last successful hex file created. file should have .cmd extension (.bat may work did not try.) called file "whereishex.cmd" , created shortcut in arduino desktop folder. saves lots of time if want save , protect hex later reuse.
put icon shortcut on desktop , locate last successful hex file created. file should have .cmd extension (.bat may work did not try.) called file "whereishex.cmd" , created shortcut in arduino desktop folder. saves lots of time if want save , protect hex later reuse.
code: [select]
rem find_hex arduino
rem locate current hex files from
rem use of arduino 1.0 compiler
set hex=""
echo off
cls
c:
cd \
dir %temp%\*.hex /s /b >hexrhere
echo.
echo.
set /p hex= <hexrhere
explorer %hex%
very usefull - added toolbox. added 1 line show output of dir search, case ...
code: [select]
rem find_hex arduino
rem locate current hex files from
rem use of arduino 1.0 compiler
set hex=""
echo off
cls
c:
cd \
dir %temp%\*.hex /s /b >hexrhere.txt
echo.
echo.
set /p hex= <hexrhere.txt
explorer %hex%
explorer \hexrhere.txt
Arduino Forum > Using Arduino > Installation & Troubleshooting > Find Last HEX created easily in Arduino 1.0 with Windows command file
arduino
Comments
Post a Comment