<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vi-toolkit.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vmroyale</id>
	<title>VI-Toolkit - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vi-toolkit.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vmroyale"/>
	<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Special:Contributions/Vmroyale"/>
	<updated>2026-05-02T16:29:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Vmrun_batch_file_execution&amp;diff=88</id>
		<title>Vmrun batch file execution</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Vmrun_batch_file_execution&amp;diff=88"/>
		<updated>2008-12-08T18:41:36Z</updated>

		<summary type="html">&lt;p&gt;Vmroyale: How to use vmrun to execute batch files in Windows Guests&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to use vmrun to run a batch file on a Windows guest, you can use RunProgramInGuest and explicity call cmd.exe with the /c switch.&lt;br /&gt;
&lt;br /&gt;
 vmrun -T ws -gu USERNAME -gp PASSWORD runProgramInGuest &amp;quot;C:\Virtual Machines\WinXP2\WinXP2.vmx&amp;quot; %COMSPEC% &amp;quot;/c C:\batch.bat&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This command will issue %COMSPEC%, which is a pointer to cmd.exe, to run the batch file C:\batch.bat on the WinXP2 virtual machine.&lt;/div&gt;</summary>
		<author><name>Vmroyale</name></author>
	</entry>
</feed>