Is it possible to make a .bat file to open a text file, remove old text and paste new?
At work we have 2 systems, A and B. To get data from a to b we have to copy from A, open a file with no extention (click on it then select notepad as the always open with box is greyed out) , ctrl+A, ctrl+V, save as and then open B and import.
Ive made by guessing a .bat to open the file with no extention direct into notepad, can you guys help with the rest??
Code so far
this seems to work but i've realy no idea if its right.
Oh and how do you make the dos window close after its opened notepad? It closes when i close notepad but not before.
At work we have 2 systems, A and B. To get data from a to b we have to copy from A, open a file with no extention (click on it then select notepad as the always open with box is greyed out) , ctrl+A, ctrl+V, save as and then open B and import.
Ive made by guessing a .bat to open the file with no extention direct into notepad, can you guys help with the rest??
Code so far

Code:
C:\WINDOWS\notepad.exe "C:\work related folder\Work File"
Oh and how do you make the dos window close after its opened notepad? It closes when i close notepad but not before.