Batch template -about windows & dos apps
Moderators: fgagnon, nikos, Site Mods
-
- Bronze Member
- Posts: 109
- Joined: 2002 Feb 23, 23:51
- Location: Atlantis
Batch template -about windows & dos apps
In the same way as the Address Bar can be used to excute windows & Dos
using '>' & '$' ;....is there any way to do a similar thing with the
Ctrl+B , Batch function. ?
-As, this app I'm using can function in both, the Windows & Dos mode...I
would prefer to use it in the Windows mode.
This is possible if I issue the command through the address bar
but then I can only process 1 file at a time.
Nikos ... ?
It would be a great help if I could use it as a Windows app, while using a Template.(As the batch template is what I normally use with it)
Also the console closes after completion in Windows mode... but remains open in dos mode.
Am using Win98.
Thanks..
~~~~~~~~~~
Starsurfer...
using '>' & '$' ;....is there any way to do a similar thing with the
Ctrl+B , Batch function. ?
-As, this app I'm using can function in both, the Windows & Dos mode...I
would prefer to use it in the Windows mode.
This is possible if I issue the command through the address bar
but then I can only process 1 file at a time.
Nikos ... ?
It would be a great help if I could use it as a Windows app, while using a Template.(As the batch template is what I normally use with it)
Also the console closes after completion in Windows mode... but remains open in dos mode.
Am using Win98.
Thanks..
~~~~~~~~~~
Starsurfer...
this is interesting!
although there's no "batch" execution for windows programs, x2 could itself act as the "interpreter", which basically means that it would execute commands from the "script" one at a time like as if they were keyed in from the addressbar using the "> " prompt
some glitches in this scenario:
* there's no console for windows apps, so you wouldn't be able to see any output unless the program itself would be polite enough to show what went on
* you can't use DOS commands like ren etc
* you can't do checks for returned values, if blocks etc
would it still be useful for you?
although there's no "batch" execution for windows programs, x2 could itself act as the "interpreter", which basically means that it would execute commands from the "script" one at a time like as if they were keyed in from the addressbar using the "> " prompt
some glitches in this scenario:
* there's no console for windows apps, so you wouldn't be able to see any output unless the program itself would be polite enough to show what went on
* you can't use DOS commands like ren etc
* you can't do checks for returned values, if blocks etc
would it still be useful for you?
Dos commands in Windows
Didn't windows solved this with gui and shortcuts ?
I created many batch files :example.bat : for my Dos apps,why do you need them for Windows.Always willing to learn.
I created many batch files :example.bat : for my Dos apps,why do you need them for Windows.Always willing to learn.
War is Hell
Lest We Forget.
Lest We Forget.
-
- Bronze Member
- Posts: 109
- Joined: 2002 Feb 23, 23:51
- Location: Atlantis
hi .
this is interesting!
although there's no "batch" execution for windows programs, x2 could itself act as the "interpreter", which basically means that it would execute commands from the "script" one at a time like as if they were keyed in from the addressbar using the "> " prompt
that would be cool.... <:-)
some glitches in this scenario:....
>......
would it still be useful for you?
Sure. -It still would be very useful :-)
Zippit:
Didn't windows solved this with gui and shortcuts...
..find it useful.....especially when you have to do the same/sequence of things
many times(i.e the template thing in 2x)
Also the prog on its own doesn't have a Gui.
Thanks
~~~~~~~~~
Starsurfer
this is interesting!
although there's no "batch" execution for windows programs, x2 could itself act as the "interpreter", which basically means that it would execute commands from the "script" one at a time like as if they were keyed in from the addressbar using the "> " prompt
that would be cool.... <:-)
some glitches in this scenario:....
>......
would it still be useful for you?
Sure. -It still would be very useful :-)
Zippit:
Didn't windows solved this with gui and shortcuts...
..find it useful.....especially when you have to do the same/sequence of things
many times(i.e the template thing in 2x)
Also the prog on its own doesn't have a Gui.
Thanks
~~~~~~~~~
Starsurfer
-
- Bronze Member
- Posts: 109
- Joined: 2002 Feb 23, 23:51
- Location: Atlantis
hi.
Nikos wrote:
there's no console for windows apps, so you wouldn't be able to see any output unless the program itself would be polite enough to show what went on
Yes. ...-Its polite enough..
when I try it on 1 File using the '>' in the address bar, it shows the output
while proccessing & then closes the window after proccessing.
What about the constructs, $B for example...could that be used ?
That would be very very helpful....
I tried it through the address bar & it wouldn't work ($B i.e)
the processing worked properly.
Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Edit : Concerning $B, above...,that
must have not worked because , $B cannot be used in the address bar. Right ?
Nikos wrote:
there's no console for windows apps, so you wouldn't be able to see any output unless the program itself would be polite enough to show what went on
Yes. ...-Its polite enough..
when I try it on 1 File using the '>' in the address bar, it shows the output
while proccessing & then closes the window after proccessing.
What about the constructs, $B for example...could that be used ?
That would be very very helpful....
I tried it through the address bar & it wouldn't work ($B i.e)
the processing worked properly.
Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Edit : Concerning $B, above...,that
must have not worked because , $B cannot be used in the address bar. Right ?
-
- Bronze Member
- Posts: 109
- Joined: 2002 Feb 23, 23:51
- Location: Atlantis
don't know what I'm doing wrong...
here's the command I used in the address bar
> "C:\Program Files\Lame\lame.exe" --alt-preset standard "$N" "$B.mp3"
It gets processed but the file gets named, $B.mp3
Same thing happens with $ instead of >
In the batch-template though, everyttyhing works fine.
thanks..
here's the command I used in the address bar
> "C:\Program Files\Lame\lame.exe" --alt-preset standard "$N" "$B.mp3"
It gets processed but the file gets named, $B.mp3
Same thing happens with $ instead of >
In the batch-template though, everyttyhing works fine.
thanks..
address bar ?
I love 2xExplorer and don't use this.What is it's main use,it can't be Dos commands,can it ? LIke @echo off.
I don't really understand what this member wants to do.
I don't really understand what this member wants to do.
War is Hell
Lest We Forget.
Lest We Forget.
zippit, these are all dos commands, including echo. Not too much to worry, you can easily do without them
starsurfer: are you sure you're using xplorer2? (not 2x)
in x2 $B is correctly identified in the addressbar, like the rest of the $-tokens. Try something like:
$ echo "$N" "$B.e" "e.$E"
and see what it gets printed out
starsurfer: are you sure you're using xplorer2? (not 2x)
in x2 $B is correctly identified in the addressbar, like the rest of the $-tokens. Try something like:
$ echo "$N" "$B.e" "e.$E"
and see what it gets printed out
-
- Bronze Member
- Posts: 109
- Joined: 2002 Feb 23, 23:51
- Location: Atlantis
Hi.
I was talking about 2x. ($B & all...) :-)
think I mentioned it somewhere...
Of`course,...I knew that you were referring to X2, where implementing
the template thing was concerned....
but it escaped me in some of your posts...sry
btw, I've just d/loaded the latest version of X2 after a gap of about 1-2 versions & got a little thrill as there is a lot more there.
cool....!!
I was talking about 2x. ($B & all...) :-)
think I mentioned it somewhere...
Of`course,...I knew that you were referring to X2, where implementing
the template thing was concerned....
but it escaped me in some of your posts...sry
btw, I've just d/loaded the latest version of X2 after a gap of about 1-2 versions & got a little thrill as there is a lot more there.
cool....!!