Watched folder files are .cmd to run?

Discuss our other products here. Get help with installation and running, notify us of bugs, request new features and enhancements.

Moderators: DataMystic Support, Moderators

jkwilliams08
Posts: 1
Joined: Mon Aug 29, 2011 11:16 pm

Watched folder files are .cmd to run?

Postby jkwilliams08 » Mon Aug 29, 2011 11:22 pm

On the "2-Action" tab what are the command and parameters if the folder to watch will contain the actual .cmd or .bat files which I want to run? I tried COMMAND: "c:\windows\system32\cmd.exe" with PARAMETERS: "%FILE%. This did not work.

User avatar
DataMystic Support
Site Admin
Posts: 2164
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Watched folder files are .cmd to run?

Postby DataMystic Support » Tue Aug 30, 2011 4:44 pm

You need to lookup the help for CMD.EXE. I believe it is:

Code: Select all

c:\windows\system32\cmd.exe /C %FILE%
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “FileWatcher, DirDate and other Support”

Who is online

Users browsing this forum: No registered users and 5 guests