Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5460 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi all,

at first: Sorry for my English. It's not the best.

Now to my question. I have a batch file which works correctly. I would like to monitor a folder on Windows Server 2003. FileMaker 10 Server is running on it and I would like to monitor the folder by a scheduled script based on a ScriptMaker-Script.

The code is very simple and looks like

[color:black]dir c:server_income /b /od > c:dir.txt

But I don't know the correct filling of the command "Send Event". How I have to submit the code below to the Script Step?

[color:black]cmd.exe dir c:server_income /b /od > c:dir.txt

don't work.

Could someone tell me how to fill the script step correctly?

Thanks a lot,

Regards Seppel

Posted

I have found the correct spelling:

[color:gray]cmd /C dir /b /od c:server_income > c:dir.txt

This works correct, if I performed the the script on a client.

But if I schedule the ScriptMaker Script at the server it doesn't work. Why? The code below in a CMD-File and scheduled by the FM-Server directly works perfectly.

Why it doesn't work in ScriptMaker-Script?

Thanks a lot.

Seppel

This topic is 5460 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.