There is a DOS/cmd/command command Pause That command will output the text following the command (on the same line) onto the 'screen', and wait for user input
The purpose of my suggestion to use that command was to allow you to see if the process you were double-clicking was being appropriately executed by windows telnet.exe is the name of the program file telnet without the .exe requires windows (or the cmd processor) to, in turn, look for a .bat. .cmd batch file, a .com file a .sys file and then an .exe ( there are registry entries detailing the file types that are considered to be 'executeable' - and they probably include .vbs as well as other types) So be specific tell the OS what type of file it (windows and/or the command processor) should look for As telnet <servername> 25 from the non-admin user. works, then it would seem that the problem is more likely to be with the file association of the desktop file than with user permissions and the 'allowability' of that user to run a cmd window, telnet, or execute a command stream held in a .bat file JimB. ----- Original Message ----- From: "Pete Holsberg" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, April 11, 2006 7:09 PM Subject: Re: Batch file on the desktop > > ----- Original Message ----- From: "Pete Holsberg" > > <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, > > April 10, 2006 10:05 PM Subject: Batch file on the desktop > > > > > >> I have a simple batch file called xtel.bat stored on the desktops > >> of three computers. telnet <email_server_domain_name> 25 > >> > >> On two of the computers (these are all XP Pro), it executes the > >> command line but on the third, it merely opens the CMD window. > >> Originally, on the third machine, it opened in an editor. I had to > >> change the file association to Windows Command Processor. So, how > >> do I get this bunny to execute when I double-click the desktop > >> icon? (Does it matter that the user on the 3rd machine does not > >> have admin privileges? Thanks. > > -------------------------------------- > > James Button wrote: > > First thing - some diagnostic pointers: Will a similar file run if it > > just contains the dos type command pause well answer me > > Not sure what you mean. > > > Next be nice to yourself - put the .exe on the end of commands > > An exe doesn't invoke the Command Processor, does it? > > > Then - if an administrator level user opens a cmd window can they get > > the command to run if not perhaps try ipconfig > > > > what about just, without any parameters telnet > > > > Then - from your limited user (desktop) will it run there > > What I did do to troubleshoot was to open a command window and type the command > > telnet <servername> 25 > > from the non-admin user. That works. > > -- > ---------------------------------------- > The WIN-HOME mailing list is powered by L-Soft's renowned > LISTSERV(R) list management software. For more information, go to: > http://www.lsoft.com/LISTSERV-powered.html > > -- ---------------------------------------- The WIN-HOME mailing list is powered by L-Soft's renowned LISTSERV(R) list management software. For more information, go to: http://www.lsoft.com/LISTSERV-powered.html
