Can we run windows CMD commands in Run Command tool
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi All,
Can we run DEL command directly by passing the file name path as Argument in RUN Command tool ? will that work because when i tried using DEL in RUN command tool, i got this error " Run Command (1) Failed to run external program "del": The system cannot find the file specified."
Please let me know what is the issue
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello pkkrish22,
DanM, Community Operations Manager, has an interesting post on the topic of 'Batch Files in Alteryx Part 3: Deleting Files'; it is part of a larger series of very helpful hints.
You can find the post as follows...
Hope this helps directly, or allows you to change your algorithm to work better with designer.
Cheers, AmNotARobot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi AmNotARobot,
Thanks for you solution for deleting the files. but i asked Can we use DEL command in RUN command tool. Please let me know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
We can actually run it directly, without creating .bat file. You just need to set
cmd
as command and set
/c del "<file_to_delete>"
to parameters like in the image
