Network Automation Software
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: run dos commands?
Topic Summary: Is there a way to run native dos commands from bpa
Created On: 10/05/2015 04:09 PM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 10/05/2015 04:09 PM
User is offline View Users Profile Print this message

Author Icon
TonGordon
Journeyman (50-99)

Posts: 87
Joined: 05/17/2011

Hi,

Trying to run the attached dos command. As far as I can see "Run" can only run fully qualified bat files. Should I be using something other than "Run"? Like "Run" doesn't seem to know what copy or echo are.

Not sure the attach code is working:

copy %filedir%/%rptnm%1.xls+%filedir%/spacing.txt+%filedir%/%rptnm%2.xls+%filedir%/spacing.txt+%filedir%/%rptnm%3.xls %filedir%/%rptnm%All.xls

 Category Survey
AutoMate BPA Server 9 version:
Windows version:



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)
 10/07/2015 03:33 PM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hello,

An alternate option is to have AutoMate open a CMD window and have AutoMate run your .bat file.

Let us know if this option would work for you.

 Category Survey


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
Statistics
18257 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 6686 on 11/01/2020 at 01:24 AM.
There are currently 375 guests browsing this forum, which makes a total of 375 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog