StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
2014218866  
#1 Posted : Thursday, June 29, 2023 9:12:36 AM(UTC)
2014218866

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 5/6/2019(UTC)
Posts: 111
China

Thanks: 19 times
Was thanked: 1 time(s) in 1 post(s)
Can I open VMware through S+and directly access the system? The existing solution is to modify the target file on the shortcut of vmware.exe. The steps are as follows: Open the properties of the VMware Workstation Pro shortcut. Change the target "D: Program Files (x86) VMware VMware Workstation vmware. exe" to "D: Program Files (x86) VMware VMware Workstation vmware. exe" - x "D: Backups Virtual Machine VMwin7-V8 vmwin7-V8 vmwin7-V8 Windows 7 x64. vmx"
UserPostedImage
Rob  
#2 Posted : Wednesday, July 12, 2023 1:03:57 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,372
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 424 time(s) in 360 post(s)
You might be able to using sp.RunProgram - but it's also possible that you cannot unless S+ is running as Administrator.
2014218866  
#3 Posted : Sunday, July 23, 2023 5:58:30 AM(UTC)
2014218866

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 5/6/2019(UTC)
Posts: 111
China

Thanks: 19 times
Was thanked: 1 time(s) in 1 post(s)
The following script worked for me. "-x" separates the two runners. You need to modify the location of the VM .exe and the files of the VM
sp.Run('"D:\\Program Files (x86)\\VMware\\VMware Workstation\\vmware.exe" -x "E:\\Virtual Machines\\Windows 10 x64\\Windows 10 x64.vmx"');
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.