Running Command Batch File from temp folder
- 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
Struggling to run external .bat file from the %temp% folder. Any idea how to do this?
I get this error:
Solved! Go to Solution.
- Labels:
- API
- Input
- Macros
- Run Command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @NoahNathan. On first glance, your output is .csv but you're trying to call a .bat. I'm assuming your output should be .bat (although you would indeed select the csv option in alteryx with no delimiter) and see if that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It is part of a larger macro. I essentially use it to write a command as a .bat file (called .csv here but is atually renamed to .bat), then I wait until its completed to run the .bat file in the "run command".
This issue is not the .csv file. The issue is that the external program "%temp%.BigQueryBatchFile.bat" cannot be found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Ah I see. So can you show me where %temp%BigQuerybatchFile.bat is being created?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
In the default folder: C:\ProgramData\Alteryx\Engine as that is what the %temp%\ does
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
%Engine.TempFilePath% should be equivalent to %temp%. Let me know if that doesn't solve it!
