Link to home
Start Free TrialLog in
Avatar of Bradley Dorrance
Bradley DorranceFlag for Canada

asked on

Looking for a Script

I have a simple text document that I use all day, every day for note taking. It would be super convenient if I could find or create a script that would easily allow me to open a few dozen instances of the *.txt document in Windows 7 Professional without having to double click on the short cut repeatedly. Can anyone help?
Avatar of Bill Prew
Bill Prew

Why would you want to open the same file numerous times on the same windows system.  That would set you up for lost changes I would think.  You open notepad to the file twice, type in to both, then save both.  Only the changes from the last save will appear.

~bp
Avatar of Bradley Dorrance

ASKER

I'm literally using the document as a temporary notepad, where I'm not saving info permanently until I copy and paste it into a ticket tracker. The TXT document has the headings I need for each client contact, and when I'm done with it, I close without saving and I have another instance of the document ready for the next contact.
You can do something like this.  Create the as a file on your desktop, called something .BAT, so maybe "StartNotes.bat".  Then try just double clicking that on the Desktop.

@echo off
setlocal

set NoteFile=C:\yourdir\template.txt
set Copies=10

for /L %%a in (1,1,%Copies%) do start notepad "%NoteFile%"

Open in new window

(EDIT: Slight change to START command)

~bp
See Notepad++.

It's FREE.

It can open multiple files, each shown in tabs.

It has the option "Remember current session for next launch". When you close notepad++, the next time you open it, your files are there... even if you don't save them.
Thanks, NVIT.

Pity my LAN team won't allow me to install that software on my work PC.
If you're allowed to use USB, there's a portable version. 😉
http://portableapps.com/ has a portable version what is being referred to.
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Really helpful, will load this script when I have a moment.