Changes

Jump to: navigation, search
Using vmrun to Work with Guest Operating Systems Files and Directories
<pre>
vmrun -T server -h https://xpshostname:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd
fileExistsInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred/MyFile
<pre>
vmrun -T server -h https://xpshostname:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd
deleteFileInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred/MyFile
</pre>
<pre>
vmrun -T server -h https://xpshostname:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd
createDirectoryInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred/MyFile
</pre>
<pre>
vmrun -T server -h https://xpshostname:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd
deleteDirectoryInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred/MyFile
</pre>
<pre>
vmrun -T server -h https://xpshostname:8333/sdk -u root -p mypassword -gu fred -gp guestpassword
listDirectoryInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred
Directory list: 5
<pre>
vmrun -T server -h https://xpshostname:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd
copyFileFromGuestToHost "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred/MyFile /tmp/MyFile
</pre>
<pre>
vmrun -T server -h https://xpshostname:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd
copyFileFromHostToGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /tmp/MyFile /home/fred/MyFile
</pre>
<pre>
vmrun -T server -h https://xpshostname:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd
renameFileInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred/MyFile /home/fred/MyNewFile
</pre>
1,798
edits

Navigation menu