Solved using batch files to insert signature

drpepper

New member
Win7 Home Premium x64 SP1

There is another forum where I am active that does not support custom signature options. To use a custom signature,you must have it saved somewhere else and use copy/paste to insert it into a post.

I am just beginning to learn batch files and have found that all the commands are not supported by Win7. I have no idea whether or not an elementary batch file can be written to do the following (in pseudo-code). I am guessing that the scripting is too complex for me at this stage of the learning process.

Start
Open <some_name>.txt file
Select All
Copy
Print to screen "signature ready to be pasted"
End

Then simply paste the signature instead of following the steps above one at a time to complete the task.

Before I waste too much time trying to write a batch file for this task, please tell me whether it can be done without more advanced knowledge.

Thanks.
drpepper




 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo 1068AHU B570 (laptop)
OS
Windows 7 Home Premium SP1 64bit
CPU
Intel Core i3
Motherboard
Lenovo Emerald Lake
Memory
8GB DDR3
Graphics Card(s)
Intel HD graphics family
Sound Card
Realtek HD audio
Monitor(s) Displays
ThinkPad Display 1366x768 (15.6")
Hard Drives
WD 320GB WDC WD3200BPVT
Internet Speed
80Kbs maximum -->speed is a misnomer
Other Info
Logitech MK550 wireless mouse/keyboard combo used when at home.
Yes, it can be done, and easier than "selecting_all_and_copying" (those are GUI terms).
Please check my script in attachment.
 

Attachments

My Computer

Computer type
PC/Desktop
OS
Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
Other Info
"The scale icon at the top right of a post or tutorial is how you can give rep to the member."
Neutron16,

Thanks. I was pretty sure that I was goofing up the terminology. That is why I used pseudo code to convey the general idea of the requirements.

I noticed what looked like copyright in your attached file. Can I safely assume that by virtue of sharing you have given me permission to use it for my personal use?

drpepper
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo 1068AHU B570 (laptop)
OS
Windows 7 Home Premium SP1 64bit
CPU
Intel Core i3
Motherboard
Lenovo Emerald Lake
Memory
8GB DDR3
Graphics Card(s)
Intel HD graphics family
Sound Card
Realtek HD audio
Monitor(s) Displays
ThinkPad Display 1366x768 (15.6")
Hard Drives
WD 320GB WDC WD3200BPVT
Internet Speed
80Kbs maximum -->speed is a misnomer
Other Info
Logitech MK550 wireless mouse/keyboard combo used when at home.
If you are talking about letter C in brackets, that was a joke.

I just tried to show different commands for educational purposes.

There is no copyrighted material in that script. It was not registered anywhere.
You can do whatever you want with that script.
 

My Computer

Computer type
PC/Desktop
OS
Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
Other Info
"The scale icon at the top right of a post or tutorial is how you can give rep to the member."
Yep... the C ... It Caught me!<-- gotta love it

Thanks
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo 1068AHU B570 (laptop)
OS
Windows 7 Home Premium SP1 64bit
CPU
Intel Core i3
Motherboard
Lenovo Emerald Lake
Memory
8GB DDR3
Graphics Card(s)
Intel HD graphics family
Sound Card
Realtek HD audio
Monitor(s) Displays
ThinkPad Display 1366x768 (15.6")
Hard Drives
WD 320GB WDC WD3200BPVT
Internet Speed
80Kbs maximum -->speed is a misnomer
Other Info
Logitech MK550 wireless mouse/keyboard combo used when at home.
Back
Top