If you use homesite, you can get code highlighting, line numbers and page
numbers.

It's fucking great. 


--
Timothy Heald
Analyst, Architect, Developer
[EMAIL PROTECTED]
W: 202-228-8372
C: 703-300-3911
-----Original Message-----
From: Zaphod Beeblebrox [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 7:14 PM
To: CF-Community
Subject: Re: Printing all CFM etc files in a directory.

yep, whatever you have set as default.  Since it's going to notepad, it'll
put the title on the page and page number them also.

On 3/29/06, Tony <[EMAIL PROTECTED]> wrote:
>
> and that sends the print jobs to the printer on my server (machine, or 
> whatever i have set as the default?)
>
> tw
>
> On 3/29/06, Zaphod Beeblebrox <[EMAIL PROTECTED]> wrote:
> > for /R "your directory" %f in (*.cfm)  --- Find all the files that 
> > are
> *.cfm
> > in this directory and (R)ecursively search subdirs
> >
> > do
> >
> > start /w  --- starts a separate command window and waits for the 
> > command
> to
> > finish
> >
> > notepad.exe /p "%f" --- open notepad with the print flag and send it 
> > the filename contained in the %f variable.
> >
> > Sorry for leaving that directory in my example.  That was where I 
> > was running it from.  Actually, come to think of it, since you're 
> > supplying
> the
> > directory, you could run this command from any directory. :)
> >
> >
> > On 3/29/06, Ian Skinner <[EMAIL PROTECTED]> wrote:
> > >
> > > Run this dos command in the root directory you want to print:
> > >
> > > for /R c:\inetpub\wwwroot\tools %f in (*.cfm) do start /w  
> > > notepad.exe/p "%f"
> > >
> > > I think I came to a similar, if cruder solution.  By 
> > > re-associating
> the
> > > .cfm|.cfc|.js extensions to notepade I was able to highlight the 
> > > files
> and
> > > select "print" from the action menu.
> > >
> > > With my limited understanding of dos, looks like this command does 
> > > something similar on the fly.  I will have to remember this for 
> > > the
> future,
> > > so I don't have to go around re-associating extensions all the time.
> > >
> > > Could you give me a run down on what all the pieces of this 
> > > command
> are?
> > >
> > >
> > > --------------
> > > Ian Skinner
> > > Web Programmer
> > > BloodSource
> > > www.BloodSource.org
> > > Sacramento, CA
> > >
> > > ---------
> > > | 1 |   |
> > > ---------  Binary Soduko
> > > |   |   |
> > > ---------
> > >
> > > "C code. C code run. Run code run. Please!"
> > > - Cynthia Dunning
> > >
> > > Confidentiality Notice:  This message including any attachments is 
> > > for the sole use of the intended
> > > recipient(s) and may contain confidential and privileged 
> > > information. Any unauthorized review, use, disclosure or 
> > > distribution is prohibited. If you are not the intended recipient, 
> > > please contact the sender and delete any copies of this message.
> > >
> > >
> > >
> > >
> > >
> >
> >
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:202233
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to