ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473
Original Poster
Rep:
as before, when I run it, all that happens is a blank command window that opens. I took the exit out to see what the results would be so what is going on? Again, here it is the file as you specified:
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473
Original Poster
Rep:
To do this, could I just simply issue the command directly in the batch file? For example, since I'm already in the directory in which I'm downloading from, could I just issue the command to install the new file? So, basically, just type *.exe? Somehow I don't think so, but what do I do here?
I'm not sure about that - since you're having multiple desktops accessing one file in one location, you'd end up with the first box to complete doing whatever to the update file and the rest not being able to use it.
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473
Original Poster
Rep:
Right, actually this is for only one machine. ) Sorry I wasn't clear. So, the next thing I would like to do is setup the update script to run silently. What do I do with the script to allow that to happen?
and by the way, no changes will be made to the file being run. It's just doing it's thing and that's it
But I suppose it really doesn't matter. I could do it with two. So, what's next chief?
Would a call command here work? And if so, how?
Last edited by scottpioso; 11-30-2003 at 01:29 PM.
In the batch file, at the end of the command(s) you need to use the switches. On my XP Box, the switches for delete are: del <whatever> /q (for quiet). To find out the switches on your system, type <command> /? into a command window and it will give a list. Most likely /y /q or something similar.
[drive:]path Specifies the directory containing COMMAND.COM file.
device Specifies the device to use for command input and output.
/E:nnnnn Sets the initial environment size to nnnnn bytes.
/P Makes the new command interpreter permanent (can't exit).
/C string Carries out the command specified by string, and then stops
/MSG Specifies that all error messages be stored in memory. You
need to specify /P with this switch.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.