Yes, this is very possible. Something like this :
Schedule this in a batch script
IF EXIST path\to\CompleteFile GOTO PROCESS
echo Error Complete doesn't exist
GOTO END
:PROCESS
call path\to\process.bat
:END
Hope that helps maybe, pretty simple batch scripting. IF EXIST is your
friend.
John
-----Original Message-----
From: David Lloyd [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 7:50 AM
To: NT 2000 Discussions
Subject: Wind2k dos
Hi all,
I'm not one for scripting, though i can put simple batch files together.
I have a situation where a Unix host will ftp into my win2k box and place a
load
of Txt files in a directory, when the main set of files are transfered
another file will
be uploaded called complete.
I want to set up a scheduled task to first check for this complete file and
if exists
run a batch file which will process the txt files.
I was thinking about an IF THEN ELSE statement, question is: can i do this
from DOS
under 2000 server?
Thnks
David
CONFIDENTIAL NOTICE
This communication contains information which is confidential and may also
be privileged. It is for the exclusive use of the intended recipient(s). If
you are not the intended recipient please note that any distribution,
copying or use of this communication or the information in it is strictly
prohibited. If you received this communication in error, please notify us by
e-mail or by telephone (020 7770 7000) and then delete the e-mail and any
copies of it.
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]