Hi, I am trying to write to an excel file which i am having no problems doing, but when the program exits and closes the excel file, a prompt appears checking whether or not you wish to save the file.
Is there a way of automatically saving the file without any user input.
Hi, I am trying to use vbscript to get the first two octets of the default gateway on a machine.
I can get the machines IP address, but not the Default Gateway IP.
Any suggestions?
Thanks
Hi, i need to send a line to command prompt. I can do this fine but the line contains " " as part of the command. Obviously you cannot just type this in the script. Is there a shortcut \ special key that will allow this to be done.
WshShell.Run("cmd /c ....."..."....")
Hope this makes sense...
Hi, is there a way of using RunAs within a VbScript. I want to use a cmd window but using a different accoutn to the one that the user is logged in as
Thanks
Is there a way of specifying custom buttons so they dont have to say "OK", "Cancel" etc. For example can you have one button that says "option 1" and one that says "option 2"
Is there a way of changing the local admin password using a vbscript. I have had a look but cant find anything apart from changing passwords in AD.
Thanks
Hi, I want to use a do...while loop, that will read from a text file and use each line as the variable.
IE. the text file has two lines:
Test
Test2
I want a variable to be set as the next line each time the loop passes and then stops when it reaches an empty line
Not sure if i have made...
Hi I want to start notepad on a remote computer using a vbscript. I have tried using PSExec but this just creates the process, the actual window is not visible. Is there another way to remotely start an application
Thanks
Hi, I am trying to write a script that will copy files to the c:\windows or c:\winnt folder depending on the version of windows being used. Have tried using c:\%windir% but this just creates a folder called %windir%, is there a way of copying automatically to the correct folder or do you need to...
I am trying to create a shortcut for a remote desktop session, which will start remote desktop to a specific machine and then fill in the login credentials (username/password) I have tried to do this using send Keystrokes but is not working. Any one have any suggestions
Thanks...
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.