Loading ...

default.cmd - PowerChute 10.0.1 with Windows 8 Pro 64 Bit - running executable | Smart-UPS & Symmetra LX / RM

Home » Spaces » Smart-UPS & Symmetra LX / RM » discussion » General » default.cmd - PowerChute 10.0.1 with Windows 8 Pro 64 Bit - running executable

default.cmd - PowerChute 10.0.1 with Windows 8 Pro 64 Bit - running executable

Discussion in Smart-UPS & Symmetra LX / RM started by Dirk , 4/27/2020 4:30 PM
Login to follow, share, and participate in this space.
Not a member?Join now
Posted in: General

default.cmd - PowerChute 10.0.1 with Windows 8 Pro 64 Bit - running executable

Subscribe to RSS
  • dlehm

    Dear Sir or Madame,

    I am currently using PowerChute 10.0.1 with Windows 8 Pro 64 Bit connected to Smart-UPS with original APC-cable and serial I/O-interface:

    Unfortunately the shutdown script (cmd-file) does not execute the executable in the shutdown.bat (bachfile):

    default.cmd

    @echo off
    rem
    rem Maximize for best viewing
    rem This command file provides examples of proper command file syntax
    rem
    rem Command Files run by PowerChute Business Edition must be placed in this directory.
    rem
    rem Use the full path name of executable programs and external command files.
    rem
    rem The @START command must be used to run executable programs (see example below).
    rem For the @START command, path names that include spaces must be enclosed in quotes;
    rem arguments for the executable must be outside the quotes. A double quote must
    rem precede the quoted path name. For example, to execute a command file in
    rem c:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles called myShut.exe,
    rem the following line should be entered in the command file:
    rem
    rem @START "" "c:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\myShut.exe"
    rem
    @echo on
    time /T >> C:\apctest\cmdtest.txt
    @START C:"\Program Files\Oracle\VirtualBox\shutdown.bat"

    shutdown.bat

    cd\Program Files\Oracle\VirtualBox
    VBoxManage controlvm "Webserver" acpipowerbutton
    VBoxManage controlvm "Windows 2012 R2" savestate

    How to figure out, why only timestamps are running sufficiently when testing and not the other executable?

    How to fix the issue that VBoxManage get´s executed?

    When starting default.cmd or shutdown.bat manually the it works fine but not when this is started by PowerChute test.

    Thank you in advance

    DL

  • wpasquil

    Hi,

    In most cases the issue is permissions or the fact that when PowerChute launches the command file is it launched in session zero. See Schneider Electric FAQ FA159586

Page 1 of 1 (2 items)
Choose your language:  
powered by Communifire
Version 7.0.7489.18715