Terry Pinnell
2023-02-20 15:51:19 UTC
I have several hundred text files with the extension '.ino'. On my Win
10 PC I can view them in any text editor. They are also accessible on my
iPad because they are in subfolders of my Dropbox folder. However they
cannot be viewed directly on the iPad. One of many frustrations I have
with either iOS or Dropbox - haven't quite pinned the culprit down in
this case.
Could some kind expert please suggest a batch file that would take a
parent folder (File Explorer) path as its input, and make identically
named copies of every .ino file in every subfolder of it, but with a
.txt extension, saving them in the same location.
So files like
C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\My Sketches\MY
SKETCHES 2021-2022\DFR SD ORIG type\JUKEBOX\J26Sh9plus\J26Sh9plus.ino
would be accompanied by
C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\My Sketches\MY
SKETCHES 2021-2022\DFR SD ORIG type\JUKEBOX\J26Sh9plus\J26Sh9plus.txt
If this was a one-off task I would tackle it within File Explorer. I did
so a year ago and it was tedious. But I will want to update it at
intervals, hence the need for some neat automation please.
Any help would be much appreciated.
10 PC I can view them in any text editor. They are also accessible on my
iPad because they are in subfolders of my Dropbox folder. However they
cannot be viewed directly on the iPad. One of many frustrations I have
with either iOS or Dropbox - haven't quite pinned the culprit down in
this case.
Could some kind expert please suggest a batch file that would take a
parent folder (File Explorer) path as its input, and make identically
named copies of every .ino file in every subfolder of it, but with a
.txt extension, saving them in the same location.
So files like
C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\My Sketches\MY
SKETCHES 2021-2022\DFR SD ORIG type\JUKEBOX\J26Sh9plus\J26Sh9plus.ino
would be accompanied by
C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\My Sketches\MY
SKETCHES 2021-2022\DFR SD ORIG type\JUKEBOX\J26Sh9plus\J26Sh9plus.txt
If this was a one-off task I would tackle it within File Explorer. I did
so a year ago and it was tedious. But I will want to update it at
intervals, hence the need for some neat automation please.
Any help would be much appreciated.