I'm no scripting expert, but..... You can't do it with a bat file. Use the
1st example which opens Notepad & writes this is a test. Open Notepad, cut
& paste the example. Save it as test.vbs & run it. You've just made your
first Visual Basic script.
Greetings,
I'm trying to write a bat file to send keystrokes to an application. I've
been referencing a microsoft doc (see link below) on the subject which
includes sample scripts, but nothing is working. I run XP as an operating
system and as Office applications, so it's not a matter of being outdated
for
the function. Any ideas on this? Cheers.
Re: Rename Map Drive ... > drive mean by making .bat file and run it ... > do you know how to map network drive through vbscipt...Set oShell = CreateObject ...Microsoft MVP Scripting and WMI, ... (microsoft.public.win2000.cmdprompt.admin)
Re: running a bat file in the background ... > relatively new bat file scripting.... > problem is a dos window pops up and shows the results. ... Schedule the batch file to run under an account other than ... (microsoft.public.windowsxp.setup_deployment)
Re: net time \enterprise /SET /Y ... from .bat file to vbs so the following .bat command i have o convert to vbs ... to the same time as the server i have entered thanks ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx. ... (microsoft.public.windows.server.scripting)
Re: How to stop XP dos window closing ... > want a shotcut to a bat file of a cmd file in which a netstat commands is ... In the bat file, add a pause command at the bottom, like this: ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ... (microsoft.public.windowsxp.general)
Re: Start another process using VBScript ... I wanted to start up another process (a bat file) and keep continuing in my VBScript program. ... What exec and WSHShell.Run do is that the cmd.exe is launched as a ...child process and the moment the vbs file exits it kills the child ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx. ... (microsoft.public.windows.server.scripting)