Re: Message of the day in notepad or write

From: wb (wmb2003_at_zoom.co.uk)
Date: 01/08/05


Date: Sat, 8 Jan 2005 17:02:42 -0000

That's great thank you

Can I define the size of the notepad window which opens?

"Corné Bogaarts" <does.not.exist@bigfoot.com> wrote in message
news:ljvvt01n74m7ook5kpct7krqgatc24iof6@4ax.com...
> In Windows2000 and XP you only have to type the path and filename in a
> command-prompt in order to open that file with whatever program is
> linked to the extension.
> Just try this:
> Make a textfile 'c:\temp\simple.txt' or a Word(pad)-document
> 'H:\SharedFiles\Importand Warning.doc'. Open a command prompt and type
> c:\temp\simple.txt and press <Enter>
> Tada... , the file opens in NotePad (or your favorite text-editor
> Similarly type "h:\sharedfiles\Importand Warning.doc" <Enter>.
> Remember to use " 's when there's a space in either the folder- or the
> file-name.
> This also works in a batchfile.
>
> However, if you simply put such a path\filename in your batchfile, the
> batch will stop executing, until the user quits the program (i.e.
> Notepad/Word/etc.)
> Therefore you should use the 'start' statement and include the program
> that should open the file:
>
> @echo off
> start notepad c:\temp\simple.txt
> start wordpad "H:\long path with spaces\warning.doc"
> ...
>
>
> Hope this helps,
>
> Corné
>
> On Sat, 8 Jan 2005 14:20:54 -0000, "wb" <wmb2003@zoom.co.uk> wrote:
>
>>I have a situation where users do not read my important emails of system
>>changes or down times, so I would like a message of the day to popup in
>>notepad when users logon. In this message I can put system changes or
>>downtimes.
>>
>>I know little about scripting and have a simple batch file mapping drive,
>>can anyone help or direct me to a site which will help me implement this?
>>
>>Wayne
>>
>>
>>
>>
>
> --- --- --- --- --- --- ---
> Most answers can be found in the Schedule+ FAQ:
> http://www.xs4all.nl/~bogaarts/schdmenu.htm.
> Please reply to the newsgroup. For reasons of Spam, I won't be including
> my E-mail address anymore.



Relevant Pages

  • Re: Folder Options - File Types - Restore
    ... The date and time was Tuesday, May 12, 2009 8:45:37 AM, and on a whim, BillW50 pounded out on the keyboard: ... Word2000 instead of Notepad, ... Readme.txt, it opens just fine. ...
    (microsoft.public.windowsxp.general)
  • Re: Notepad conversion
    ... I've never heard of Arabe Notepad. ... Please respond in the newsgroups so everyone can follow along. ... I was sent a document that opens in Notepad. ...
    (microsoft.public.word.conversions)
  • Re: Folder Options - File Types - Restore
    ... BillW50 pounded out on the keyboard: ... Word2000 instead of Notepad, ... Readme.txt, it opens just fine. ... to edit and modify the file type (Application used to perform ...
    (microsoft.public.windowsxp.general)
  • Re: Dont have permission after re-enabling guest account?
    ... Paste into Notepad. ... When Notepad opens up displaying c:\cdiag.txt, ... Do this from both computers, please, with both computers powered up and online. ... Start CDiag Assembled Code ...
    (microsoft.public.windowsxp.network_web)
  • Re: Preventing file sharing
    ... Notepad, access is denied. ... opens the file and 'slurps' it into memory and closes it. ... then the Notepad user closes and saves the file thereby ...
    (comp.lang.fortran)