Re: Executing batch file

From: CrazyEyes (mofo_at_hereAndthere.com.au)
Date: 03/07/04


Date: Sun, 7 Mar 2004 16:54:54 +1300


"CrazyEyes" <mofo@hereAndthere.com.au> wrote in message
news:#Ee8ke$AEHA.2584@TK2MSFTNGP12.phx.gbl...
>
> "Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
> news:404A93B6.51C08E9C@hydro.com...
> > CrazyEyes wrote:
> >
> > > Hi, i created a batch file called printdir.bat from a link showing how
> to
> > > print a directory in text.
> > > Problem is when i double click the file it opens in notepad as if i
want
> to
> > > edit it.
> > > What do i associate with this file so it runs ?
> >
> > Hi
> >
> > In a command prompt (Start\Run and then cmd.exe), run the
> > following command and see if it helps:
> >
> > assoc .bat=batfile
> >
> >
> > --
> > 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/community/scriptcenter/default.mspx
> >
> >
>
> Tried your suggestion and it doesn't help, thanks anyways.
> Now it opens a command prompt window but does nothing else.
>
>
Thanks for ur help, it's sorted now.



Relevant Pages


Loading