I kept some batch file as the vmware tools scripts in the vmware tools folder under the program files i linked that with vm operation like poweron from the notification area icon from the scripts tab but still it is not working. if Anyone knew the solution please share their solution with me.
could you please clarify the question,
i linked that with vm operation like poweron from the notification area icon
How can i link the custom vmware tools scripts with a vm?
anyone any idea?
anyone?
Ranjna Aggarwal wrote:
How can i link the custom vmware tools scripts with a vm?
Inside the VM, open the VMware tools icon and use the scripts tab:
Point to your own custom script in any folder.
have you checked it? because i did the same and didn't work.
You seem to need to use the command line in workstation 9...
The tool exists at %PROGRAMFILES%\VMWare\VMWare Tools\VMwareToolboxCmd.exe
There are 4 types of scripts:
power
shutdown
resume
suspend
You can see the current script used by running (replace <type> with thetype from above)
VMwareToolboxCmd.exe scripts <type> current
You can enable/disable the script by using
VMwareToolboxCmd.exe scripts <type> enable
or
VMwareToolboxCmd.exe scripts <type> disable
You can set a new one by using
VMwareToolboxCmd.exe scripts <type> set <newpath>
One important note - the "enable" subcommand will have a side-effect of resetting the script to the default location, so if you have a custom script, remember to do a "set" after "enable"!