Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Strange Win7 command line / cmd file issue

Featured Replies

Hello everyone!

I've recently switched to Win7 Pro on a three year old notebook and I am very pleased. The machine went from "bogged down hard and soon to be replaced" to a performance machine.

In order to save resources when I do not use Vmware Workstation, I have set all its services to manual and wrote a batch file to stert them only when I need to - and stop them thereafter:


@echo off
net start "VMware Authorization Service"
net start "VMware DHCP Service"
net start "VMware NAT Service"
net start "VMware USB Arbitration Service"
start /wait "C:\program files\VMware\VMware Workstation\VMware.exe -x C:\VM\Windows 7\Windows 7.vmx"
net stop "VMware Authorization Service"
net stop "VMware DHCP Service"
net stop "VMware NAT Service"
net stop "VMware USB Arbitration Service"
taskkill /F /IM vmware-tray.exe
exit

Now.... the services start and stop just fine but Vmware does not run, with or without "start /wait". I've also tried the %programfiles% variable but it just doesn't work.

Now I changed it to this:

"C:\program files\VMware\VMware Workstation\VMware.exe -x C:\VM\Windows 7\Windows 7.vmx"

Now at least I get an error message:

The filename, directory name, or volume label syntax is incorrect. :(

Could somone please point me in the right direction?

Hello everyone!

I've recently switched to Win7 Pro on a three year old notebook and I am very pleased. The machine went from "bogged down hard and soon to be replaced" to a performance machine.

In order to save resources when I do not use Vmware Workstation, I have set all its services to manual and wrote a batch file to stert them only when I need to - and stop them thereafter:


@echo off
net start "VMware Authorization Service"
net start "VMware DHCP Service"
net start "VMware NAT Service"
net start "VMware USB Arbitration Service"
start /wait "C:\program files\VMware\VMware Workstation\VMware.exe -x C:\VM\Windows 7\Windows 7.vmx"
net stop "VMware Authorization Service"
net stop "VMware DHCP Service"
net stop "VMware NAT Service"
net stop "VMware USB Arbitration Service"
taskkill /F /IM vmware-tray.exe
exit

Now.... the services start and stop just fine but Vmware does not run, with or without "start /wait". I've also tried the %programfiles% variable but it just doesn't work.

Now I changed it to this:

"C:\program files\VMware\VMware Workstation\VMware.exe -x C:\VM\Windows 7\Windows 7.vmx"

Now at least I get an error message:

The filename, directory name, or volume label syntax is incorrect. :(

Could somone please point me in the right direction?

996, t I think it should look like this:

"C:\program files\VMware\VMware Workstation\VMware.exe" -x "C:\VM\Windows 7\Windows 7.vmx"

Enjoy, John.

  • Author

Thank you, John! It works! :thumbup

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.