Re: how to let batch file to run two pgm wihtout waiting for first

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



msnews.microsoft.com wrote:
for example, if I want a batch file to open two instances of notepad on c:\a.txt and c:\b.txt so that I can switch between the two, what option or command can I execute to let this happen only for this batch file's execution?

setlocal
notepad c:\a.txt
notepad c:\b.txt
end local

the above will open b.txt only when I close a.txt in this client domain
what commnd or option can I use after setlocal to have both instances running?



try "call notepad ....." instead.
.



Relevant Pages

  • Re: Remove Notepad and Wordpad
    ... RunDll32 advpack.dll,LaunchINFSection %windir%\INF\wordpad.inf, MSWordPadUninstall ... The path to the answer file is specified in the u switch in the command, ... Using either of these methods there may be privileges issues, in which case you can use "runas" administrator with the command. ... I know WFP kicks in when I try to delete notepad. ...
    (microsoft.public.windowsxp.general)
  • Re: Startup command line options
    ... >around in place that makes use of the /x switch to execute ... >>Elwin wrote: ... >>>command line switch you can use to pass parameters to ...
    (microsoft.public.access.modulesdaovba)
  • Re: MSDE Install
    ... I am having touble with the sapwd ... > switch. ... usually you have to execute ... post your command line.. ...
    (microsoft.public.sqlserver.msde)
  • Re: windows program return values vs perl return values from a call to system() -- windows p
    ... a zero success, then execute your else block which indicates notepad ran successfully, when actually a "Bad command or file name" error message is generated. ...
    (comp.lang.perl.misc)
  • Re: Remove Notepad and Wordpad
    ... AndrewB wrote: ... The path to the answer file is specified in the u switch in the command, ... Using either of these methods there may be privileges issues, in which case you can use "runas" administrator with the command. ... I know WFP kicks in when I try to delete notepad. ...
    (microsoft.public.windowsxp.general)