1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Batch File Connundrum

Discussion in 'DOS/Other' started by rezt0ne, Feb 1, 2005.

Thread Status:
Not open for further replies.
Advertisement
  1. rezt0ne

    rezt0ne Thread Starter

    Joined:
    Oct 17, 2004
    Messages:
    27
    This sounds quite simple in theory but am having no luck.I want the batch file to start tightVNC.exe with the switches /sp and /verysilent, but i also want the batch file to wait for the install to finish using, start /wait if thats possible.

    so i would have thought would look something like:

    start TightVNC.exe /sp /verysilent /wait

    this but obviously doesnt work becasue doesnt recognise /sp as a switch for the start command. help.
     
  2. gurutech

    gurutech

    Joined:
    Apr 23, 2004
    Messages:
    2,960
    try this: start /W "(path)\TightVNC.exe" /sp /verysilent
    or start /W "(path)\TightVNC.exe /sp /verysilent"
     
  3. rezt0ne

    rezt0ne Thread Starter

    Joined:
    Oct 17, 2004
    Messages:
    27
    Is the correct answer, worked it out in the end, but turns out that tightvnc doesnt actually need to be installed. is just a case of copying a .exe and a .dll to a folder on the workstation and running "(path)\TightVNC.exe -install" to setup the service.

    Thanks anyway
     
  4. john@help

    [email protected] Banned

    Joined:
    Jan 2, 2005
    Messages:
    105
    use a :
    like this TightVNC.exe:sp:verysilent:wait
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - Batch File Connundrum
  1. minimustangs
    Replies:
    5
    Views:
    912
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/325765

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice