You can do a lot of great stuff as a batch job script using 'bash' - the
script that runs in *nix.
I used that to process our pathology download and decryption with PGP
and moving files into a location where MDW could get them. ( Now I just
let the pathology companies run their own programs for downloads).
You can install cygwin on a wintel box. Just download and install it
from http://www.cygwin.com/mirrors.html
It is not possible to do the detailed stuff you want using standard DOS.
There are lots of howto's and tutorials in using 'bash'
David Pan wrote:
I know a little rudimentary DOS batch scripting, but the task I would
like
to do is way beyond my skills.
I would like to create a batch file, that would copy the contents of
digital camera flash
card into a directory, then format the card.
This might happen more than once on one day and then not all all for
days.
I want the contents of each card to go into a unique directory.
Its a very old digital camera using a few ancient smart media cards
and if
you dont format everytime, the subsequently written files seem to
corrupt.
I would like the batchfile to create a directory with YYMMDD-HHMMSS as
its
name. That way, I know it will be unique !
Is that even possible in a DOS batch file ?
Or would the directory name be limited to 8.3 format ?
If so, could we create a dir YYMMDD with a subdirectory of HHMMSS ?
Then I want to move the files from the flash card (assuming its been
plugged
into the reader and lets say its volume F:) into the directory created
above.
Then format the card.
Could someone show me how to write such a batch file please ?
Don't hate me, but it needs to run under Windows, not Linux.
David Pan
Merrylands, NSW
_______________________________________________
Gpcg_talk mailing list
[email protected]
http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk
__________ NOD32 1866 (20061114) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
_______________________________________________
Gpcg_talk mailing list
[email protected]
http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk