Welcome to GameHourz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Odp: executing batch file from different folder not workin..

 
   Game Forums (Home) -> Core War RSS
Related Topics:
executing batch file from different folder not working ? - Hello. file contents neuk.bat: console commands entered: cd execute it says. This seems abnormal from ms-dos 6.22 days ? The batch file is supposed to execute the no matter..

Score Surface for 94nop - Hi, some anonymous person (still called for ;-) is so kind to provide access to a pile of I have suggested to calculate one score surface for standard settings. It takes roughly 1000 times the time of one surface to..

Bug in pMARS - Hi, either I don't know how EQUs work or I have found a bug in the parser of pMARS. So far I cound pin it down to: ;name test ;assert CORESIZE == 800 v3 EQU 3 * (3 / 2 + 1) + 3 v4 EQU (CORESIZE - v3) dat.f v3, v4 With the..

KOTH.ORG: Status - ICWS Experimental 94 03/06/06 - Weekly Status on 03/06/06 -=- is up! Meetings held in #corewars -=- Tons of new features on pages -=- *FAQ* page located at: Current Status of the KOTH.ORG ICWS 94..

KOTH.ORG: Status - MultiWarrior 94 03/06/06 - Weekly Status on 03/06/06 -=- is up! Meetings held in #corewars -=- Tons of new features on pages -=- *FAQ* page located at: Current Status of the KOTH.ORG 94 CoreWar..
Next:  Core War: executing batch file from different folder not working ?  
Author Message
Lukasz Adamowski

External


Since: Dec 03, 2007
Posts: 18



(Msg. 1) Posted: Sun Jan 20, 2008 3:19 pm
Post subject: Odp: executing batch file from different folder not working ?
Archived from groups: rec>games>corewar (more info?)

> Hello.
>
> file contents neuk.bat:
> program.exe
>
> console commands entered:
> cd c:\bla\bla
> c:\bla\bla\neuk.bat
>
> "can't execute program.exe" it says.
>
> This seems abnormal from ms-dos 6.22 days ?
>
> The batch file is supposed to execute the program.exe no matter from
what
> folder the batch file is invoked ?
> Seems to be a bug ????
> Or is this a new "security feature" ? Wink

I guess it won't run program.exe if there is no program.exe file in
c:\bla\bla. Your computer just cannot find it unless you specify the
whole path or put it into PATH enviroment variable.

> Does pmars-server have a tournament mode like corewin 2.3 ???
No. If you give it more than 2 warriors, all of them will fight at
once in the same core.

> Also what does the output mean ?
> like:
> results: 0 1 0 0 0 0

Can you specify your command line? It's hard to say when we don't know it.

Lukasz Adamowski

-= "War is a problem, never a solution" =-
-= "Wojna jest problemem, a nie rozwiazaniem" =-

----------------------------------------------------
Leszek Możdżer i Przemek Dyakowski - solidna porcja
nowoczesnego jazzu w Gdyni!
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fmelisa.html&sid=190

 >> Stay informed about: Odp: executing batch file from different folder not workin.. 
Back to top
Login to vote
Skybuck Flying

External


Since: May 25, 2006
Posts: 295



(Msg. 2) Posted: Sun Jan 20, 2008 10:04 pm
Post subject: Re: executing batch file from different folder not working ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Wow scratch that theory.

It's just not working at all now:

project1.exe lul.txt > output.txt

output.txt corrupted ?!

WTF ?!

 >> Stay informed about: Odp: executing batch file from different folder not workin.. 
Back to top
Login to vote
Skybuck Flying

External


Since: May 25, 2006
Posts: 295



(Msg. 3) Posted: Sun Jan 20, 2008 10:12 pm
Post subject: Re: executing batch file from different folder not working ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

It simply doesn't work.

Very strange, I enter things manually without batchfile with following
results:

D:\test\hier>dir
Volume in drive D has no label.
Volume Serial Number is F046-4F7A

Directory of D:\test\hier

20-01-2008 22:03 <DIR> .
20-01-2008 22:03 <DIR> ..
20-01-2008 21:47 46 lul.txt
20-01-2008 22:09 5 output.txt
20-01-2008 21:50 95.232 Project1.exe
20-01-2008 22:03 33 RunMe.bat
4 File(s) 95.316 bytes
2 Dir(s) 53.586.190.336 bytes free

D:\test\hier>project1.exe lul.txt > output.txt


D:\test\hier>type output.txt
?
D:\test\hier>

lul.txt contains:

Ik ben een dikke lul

That shouldn't be a problem.

WACKY ?!?!?!?!?!?!

That sentence above did look a bit strange when I pasted it in outlook
express like carriage returns or something. gonna make a new file to see if
the problem remains.

Bye,
Skybuck.
 >> Stay informed about: Odp: executing batch file from different folder not workin.. 
Back to top
Login to vote
Display posts from previous:   
   Game Forums (Home) -> Core War All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]