Announcement

Collapse
No announcement yet.

batch file

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • batch file

    Hey guys

    I have downloaded and installed vmware disk mount utility.
    Now I want to create a .bat file that does the following :

    1. Opens cmd
    2. Run cd\
    3. Go to the path C:\Program Files (x86)\VMware\VMware Virtual Disk Development Kit\bin
    4. runs vmware-mount with /?
    5. Hereafter I want to be able to make input and use the cmd as you normal would.

    Please help

  • #2
    Re: batch file

    How about this:

    Code:
     
    @ECHO OFF
    start cmd.exe /k C:\"Program Files (x86)\VMware\VMware Virtual Disk Development Kit\bin\vmware-mount" /?

    Comment


    • #3
      Re: batch file

      Fantastic it works WOHOO
      Thanx a lot

      Comment


      • #4
        Re: batch file

        Glad to help.

        Comment


        • #5
          Re: batch file

          Why not create a Shortcut instead of a batch?
          Target:
          Code:
          %windir%\system32\cmd.exe /k pushD "C:\Program Files (x86)\VMware\VMware Virtual Disk Development Kit\bin"&&"vmware-mount" /?
          Start in: .

          And give the shortcut a nice VMware icon.

          \Rems

          This posting is provided "AS IS" with no warranties, and confers no rights.

          __________________

          ** Remember to give credit where credit's due **
          and leave Reputation Points for meaningful posts

          Comment

          Working...
          X