Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Why not Batch files??

Reply
Thread Tools

Why not Batch files??

 
 
1usa@llenroc.ude.invalid
Guest
Posts: n/a
 
      02-18-2006

robic0 wrote:
> On 18 Feb 2006 14:59:12 -0800, "(E-Mail Removed)" <(E-Mail Removed)> wrote:
>
> >robic0 wrote:
> >> On 18 Feb 2006 14:49:26 -0800, "l v" <(E-Mail Removed)> wrote:
> >>

> >...
> >
> >> >for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
> >> >for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F

> >
> >...
> >
> >> Given this is a general Perl group, maybe you should find Unix groups

> >
> >What he wrote, of course, had nothing to do with Unix.
> >
> >Sinan

>
> Uh huh...
> for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
> for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F


Let me paraphrase ...

What he wrote, of course, had nothing to do with Unix.

Sinan

 
Reply With Quote
 
 
 
 
robic0
Guest
Posts: n/a
 
      02-18-2006
On 18 Feb 2006 15:05:35 -0800, "(E-Mail Removed)" <(E-Mail Removed)> wrote:

>
>robic0 wrote:
>> On 18 Feb 2006 14:59:12 -0800, "(E-Mail Removed)" <(E-Mail Removed)> wrote:
>>
>> >robic0 wrote:
>> >> On 18 Feb 2006 14:49:26 -0800, "l v" <(E-Mail Removed)> wrote:
>> >>
>> >...
>> >
>> >> >for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
>> >> >for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F
>> >
>> >...
>> >
>> >> Given this is a general Perl group, maybe you should find Unix groups
>> >
>> >What he wrote, of course, had nothing to do with Unix.
>> >
>> >Sinan

>>
>> Uh huh...
>> for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
>> for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F

>
>Let me paraphrase ...
>
>What he wrote, of course, had nothing to do with Unix.
>
>Sinan


Keep trying, its not *nix, its just not...
for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F

-robic0-
 
Reply With Quote
 
 
 
 
1usa@llenroc.ude.invalid
Guest
Posts: n/a
 
      02-18-2006
robic0 wrote:
> On 18 Feb 2006 15:05:35 -0800, "(E-Mail Removed)" <(E-Mail Removed)> wrote:
>
> >
> >robic0 wrote:
> >> On 18 Feb 2006 14:59:12 -0800, "(E-Mail Removed)" <(E-Mail Removed)> wrote:
> >>
> >> >robic0 wrote:
> >> >> On 18 Feb 2006 14:49:26 -0800, "l v" <(E-Mail Removed)> wrote:
> >> >>
> >> >...
> >> >
> >> >> >for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
> >> >> >for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F
> >> >
> >> >...
> >> >
> >> >> Given this is a general Perl group, maybe you should find Unix groups
> >> >
> >> >What he wrote, of course, had nothing to do with Unix.
> >> >
> >> >Sinan
> >>
> >> Uh huh...
> >> for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
> >> for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F

> >
> >Let me paraphrase ...
> >
> >What he wrote, of course, had nothing to do with Unix.
> >
> >Sinan

>
> Keep trying, its not *nix, its just not...
> for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
> for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F
>
> -robic0-


You know, we could keep doing this forever (after all, I am posting
from GG, so rules apply , but it has already ceased to be amusing
for anyone with an IQ above room temperature.

The two lines above are from a batch file. They should work with
anything from command.com in DOS v5 to the XP cmd.exe shell.

None of this is really relevant, of course.

The for loop in the XP cmd.exe shell has many more options. You can
read about them by typing

C:\> for /?

on the command line.

Roger?

Sinan

 
Reply With Quote
 
robic0
Guest
Posts: n/a
 
      02-18-2006
On 18 Feb 2006 14:49:26 -0800, "l v" <(E-Mail Removed)> wrote:

>Chris L. wrote:
>> Dear All-
>> This post is in regard to a certain article I recently read on batch
>> files. I currently use the Perl system() function to call a batch files
>> when I need to run other applications from my perl program:
>>
>> system ("CALL", $batch_file1");
>>
>> ...and it works great. However, the article was explaining how batch
>> files were almost extinct in programming. I am wondering if this is
>> accurate or not. That is, should I be utilizing something else to
>> automate Windows system calls? Are batch files a thing of the past? If
>> so, what should I be focusing my attention on to replace them?
>>
>> Thank you for your time and expertise.
>> Chris

>
>Lately I use batch files less because of Perl's ease.


Lets see here, you think Perl is better than 'batch' files.
So how does Perl compare to batch files? I think
Larry Wall would like to know his creation is 'just this side
better than, er ahh, batch files'...

-robic0-
 
Reply With Quote
 
robic0
Guest
Posts: n/a
 
      02-18-2006
On 18 Feb 2006 15:24:22 -0800, "(E-Mail Removed)" <(E-Mail Removed)> wrote:

>robic0 wrote:
>> On 18 Feb 2006 15:05:35 -0800, "(E-Mail Removed)" <(E-Mail Removed)> wrote:
>>
>> >
>> >robic0 wrote:
>> >> On 18 Feb 2006 14:59:12 -0800, "(E-Mail Removed)" <(E-Mail Removed)> wrote:
>> >>
>> >> >robic0 wrote:
>> >> >> On 18 Feb 2006 14:49:26 -0800, "l v" <(E-Mail Removed)> wrote:
>> >> >>
>> >> >...
>> >> >
>> >> >> >for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
>> >> >> >for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F
>> >> >
>> >> >...
>> >> >
>> >> >> Given this is a general Perl group, maybe you should find Unix groups
>> >> >
>> >> >What he wrote, of course, had nothing to do with Unix.
>> >> >
>> >> >Sinan
>> >>
>> >> Uh huh...
>> >> for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
>> >> for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F
>> >
>> >Let me paraphrase ...
>> >
>> >What he wrote, of course, had nothing to do with Unix.
>> >
>> >Sinan

>>
>> Keep trying, its not *nix, its just not...
>> for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
>> for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F
>>
>> -robic0-

>
>You know, we could keep doing this forever (after all, I am posting
>from GG, so rules apply , but it has already ceased to be amusing
>for anyone with an IQ above room temperature.
>
>The two lines above are from a batch file. They should work with
>anything from command.com in DOS v5 to the XP cmd.exe shell.
>
>None of this is really relevant, of course.
>
>The for loop in the XP cmd.exe shell has many more options. You can
>read about them by typing
>
>C:\> for /?
>
>on the command line.
>
>Roger?
>
>Sinan


Yup, roger. I know the cmd shell. But I'm sure you don't. Its a complicated
beast! As to the game, well maybe we get to know each other. I stand on what I
post. I correct my mistakes (if) and timely, and I respect others who follow
suite!

-robic0-
 
Reply With Quote
 
robic0
Guest
Posts: n/a
 
      02-18-2006
On Sat, 18 Feb 2006 15:33:01 -0800, robic0 wrote:

>On 18 Feb 2006 15:24:22 -0800, "(E-Mail Removed)" <(E-Mail Removed)> wrote:
>
>>robic0 wrote:
>>> On 18 Feb 2006 15:05:35 -0800, "(E-Mail Removed)" <(E-Mail Removed)> wrote:
>>>
>>> >
>>> >robic0 wrote:
>>> >> On 18 Feb 2006 14:59:12 -0800, "(E-Mail Removed)" <(E-Mail Removed)> wrote:
>>> >>
>>> >> >robic0 wrote:
>>> >> >> On 18 Feb 2006 14:49:26 -0800, "l v" <(E-Mail Removed)> wrote:
>>> >> >>
>>> >> >...
>>> >> >
>>> >> >> >for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
>>> >> >> >for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F
>>> >> >
>>> >> >...
>>> >> >
>>> >> >> Given this is a general Perl group, maybe you should find Unix groups
>>> >> >
>>> >> >What he wrote, of course, had nothing to do with Unix.
>>> >> >
>>> >> >Sinan
>>> >>
>>> >> Uh huh...
>>> >> for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
>>> >> for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F
>>> >
>>> >Let me paraphrase ...
>>> >
>>> >What he wrote, of course, had nothing to do with Unix.
>>> >
>>> >Sinan
>>>
>>> Keep trying, its not *nix, its just not...
>>> for %%F in (*.jpg) do d:/batch/mkThumb.bat %%F "%%~nF.thumb%%~xF"
>>> for %%F in (*.jpg) do perl C:/Perl/source/imagemagick/addkey.pl %%F
>>>
>>> -robic0-

>>
>>You know, we could keep doing this forever (after all, I am posting
>>from GG, so rules apply , but it has already ceased to be amusing
>>for anyone with an IQ above room temperature.
>>
>>The two lines above are from a batch file. They should work with
>>anything from command.com in DOS v5 to the XP cmd.exe shell.
>>
>>None of this is really relevant, of course.
>>
>>The for loop in the XP cmd.exe shell has many more options. You can
>>read about them by typing
>>
>>C:\> for /?
>>
>>on the command line.
>>
>>Roger?
>>
>>Sinan

>
>Yup, roger. I know the cmd shell. But I'm sure you don't. Its a complicated
>beast! As to the game, well maybe we get to know each other. I stand on what I
>post. I correct my mistakes (if) and timely, and I respect others who follow
>suite!
>
>-robic0-


Since in the far past I've had to use the NT shell (as you call it) to build
drivers and installs. The phrasing 2 lines above is clearly meant for Unix.
I don't know wht your, or is 'GG' means but thems the facts.
The NT shell is one of the most complicated shells ever created. 'It' has nothing
to do with Unix, except by the accidental, unknowing verbage overlapp...

Let this dog lie or it will bite ya!

-robic0-
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why :: ? Why not : ? Why not . ? <- less clutter ?!? Skybuck Flying C++ 16 08-25-2007 09:48 PM
why why why why why Mr. SweatyFinger ASP .Net 4 12-21-2006 01:15 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
why why why does function not work Horace Nunley ASP .Net 1 09-27-2006 09:52 PM
Scheduling (AT) does not fire batch file Dave Computer Support 3 08-04-2003 11:45 PM



Advertisments