r/programmingrequests • • Apr 17 '17

[Request] I need a program that reads a text file and changes its title based n what is in the file.

I would like a .exe program that would change its name based of what is included in a text file. For example it would read what is in the file and then copy that text as its title. I hope I am making this clear.

Thank you

2 Upvotes

4 comments sorted by

1

u/SamSlate Apr 17 '17

can you give a file example? what are the names currently, and what's in the files?

1

u/darthluke824 Apr 18 '17

The file type is a .txt and the file itself is called Snip.txt and it basically detects what song is playing on your computer automatically so it changes the name inside the file all the time

1

u/NoG5 Apr 19 '17

like this? just drag the txt file on the exe as a argument or on the window itself

1

u/darthluke824 Apr 19 '17

yes perfect! thank you so much