Solved the .bat file provided in the documentation failed to run

Ibm Ibm bladecenter hs21 xm xeon qc l542...
September 5, 2012 at 04:37:58
Specs: Windows 2008 R2, 12/73
echo off
cd C:\Program Files (x86)\VMware\VMware vSphere CLI>
ftCLI2.pl --server spect-vcentera.spectranet.com.ng --passthroughauth --operation create --vmname HD_Admin_svr --verbose

this file is saved as .bat file running it in task scheduler shows running but the task does not really take place. on testing the run from the cmd promt, i get the error that the syntax of command is incorrect


See More: the .bat file provided in the documentation failed to run

Report •


#1
September 5, 2012 at 06:58:48
Try entering the change directory command as a line on it's own:

CD C:\

Then enter the rest of the command string below that:

C:\Program Files (x86)\VMware\VMware vSphere CLI>
ftCLI2.pl --server spect-vcentera.spectranet.com.ng --passthroughauth --operation create --vmname HD_Admin_svr --verbose


Report •

#2
September 7, 2012 at 04:33:10
✔ Best Answer
Your path is invalid. You must remove the > from the end and surround it in double quotes.

@echo off
pushd "C:\Program Files (x86)\VMware\VMware vSphere CLI"
ftCLI2.pl --server spect-vcentera.spectranet.com.ng --passthroughauth --operation create --vmname HD_Admin_svr --verbose
popd

Tony


Report •

Related Solutions


Ask Question