Watched folder files are .cmd to run?
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
-
- Posts: 1
- Joined: Mon Aug 29, 2011 11:16 pm
Watched folder files are .cmd to run?
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.
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: Watched folder files are .cmd to run?
You need to lookup the help for CMD.EXE. I believe it is:
Code: Select all
c:\windows\system32\cmd.exe /C %FILE%