Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Ppl, I'm new to Perl. I have written a code in C# for the below funtion:
1. open cmd 2. Set the directory in which the program is running as the currect path 3. Detect a file with extension ".mobi" or ".prc" or ".epub" and run certain actions for certain filetypes: 1. for MOBI: "kindletool.exe strip_source filename.mobi " 2. for PRC: "kindletool.exe strip_source filename.prc" 3. If there is a file with ".epub" extension then rename the extension to ".zip".
can someone please help me with this
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Automating cmd prompt command execution
by choroba (Cardinal) on Sep 08, 2015 at 09:38 UTC | |
by Anonymous Monk on Sep 08, 2015 at 10:08 UTC | |
by Anonymous Monk on Sep 08, 2015 at 10:20 UTC | |
by choroba (Cardinal) on Sep 08, 2015 at 11:32 UTC | |
|
Re: Automating cmd prompt command execution
by Corion (Patriarch) on Sep 08, 2015 at 09:32 UTC | |
by Anonymous Monk on Sep 09, 2015 at 08:11 UTC | |
by ww (Archbishop) on Sep 11, 2015 at 17:05 UTC |