help.bat

TaO

Tree Surgeon
Joined
Dec 14, 2007
Messages
795
Location
The Hague
Hi folks!

I need some core programmers here ;)

Here's the situation.
Server A
Server B
Desktop A

Desktop A has an batch file, which copies 1 .txt file to server A.
Server A then runs a batch file which copies the same textfile to Server B.
Then on server B as soon the .txt file is created a trigger is being send to a program which mails me.

Now so far i've googles around, and all i can find is.. scheduled tasks etc.
I'm pretty sure there is a backdoor somewhere.

Desktop A
if exist c:\test.txt then
net use p: \\serverA\test
net use p: /delete
*Trigger Server A here*

Server A
if exist c:\test\test.txt then
net use x: \\serverB\test
net use x: /delete
*Trigger server B here*

Server B
If exist c:\test\test.txt
c:\test\testapplication.exe

Now offcourse this will work if i non stop run all of those batchfiles.
But i want them to trigger 1 by 1..
so Desktop A must trigger Server A, and server A must trigger server B once Desktop A has been triggered.

Hope you guys understand what i mean :)
 

TaO

Tree Surgeon
Joined
Dec 14, 2007
Messages
795
Location
The Hague
I've tried that one...
But this one works like a scheduled task... So not really what i'm looking for

Thanks anyways
 

Terrakan

Harvester
Joined
Jan 8, 2008
Messages
171
Location
England
I've tried that one...
But this one works like a scheduled task... So not really what i'm looking for

Thanks anyways

find a guy on IRC in #chillspot called [US]Drifter he will be able to help you

if he cant then Neil in #chillspot might be able to
 
Top