Welcome to the lovely world of Windows scripting, Fred :). Actually, it is more straightforward than I made it sound. You already have a VBScript interpreter on your system since it ships with it.
All you need to do is save the script as a file with a .vbs extension and strip out the line numbers, and it should work. I think there is another issue there in terms of how Windows acts when it sees certain things on a command line, though, so having several shortcuts may be the best solution for now, albeit a little messy. ----- Original Message ----- From: "Shing-Fat (Fred) Ma" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday/2002 January 01 06:48 Subject: Re: Weird quirk in MSDOS batch wrapper for vncveiwer : Thanks, Alex. : : I'm in a bit of a bind here. Since I'm not a software guy and not really a : MS-DOS/Win guy, and also relatively new to VNC and : secure ssh connections (and VNC is the Nth solution : I'v investigated), I am in the unfortunate situation of having spent : all my time getting the means working and the ends has been seriously : neglected. So I'm saving your email for when I have a chance to find out : about VB and how to use it. I don't know if it exists on my system. : For now, I just forego the wrapper. I have so many shortcuts : because I treat the ones that came with the TightVNC installation as : sacred and want to preserve them (they must have been specially defined : for some reason!). I also have a few shortcuts speckled through my : laptop. Being a laptop, I can be connecting to home ADSL, the university : LAN, or at the company where I intern. Or I can be visiting family in : Toronto and relying on 56Kbps or less to access those places. So I : want a few viewer configurations. Actually, I probably spent far more : time learning how to do the MSDOS attempt on a wrapper than I will : ever save by having shortcuts in my whole life, but it is annoying : and error-prone having punch in the same things again and again. : And I am spoiled by unix scripting that I got lulled into taking a shot : at it. But it never seemed to end. Now I must stop. But thanks, I : appreciate the work you put into it and I will eventually have a : second look at it and your solution (SNIP) --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------