VBScript to find and replace a file
I will start by saying that I am a total noob and have no experience in scripting or any programming for that matter. So I would like to ask you guys on how to make a script that finds an replaces certain files.
Here's what I want to happen:
The script file will find a file/files in the C/Users/(username)/AppData folder and replace it with a certain file that I have modified. I would like it to work even though the directory I specified (C/Users/(username)/AppData) is a system hidden folder and will also work even though the computer usernames are different.
That's all. Thanks. I just need it to change the user settings of a certain application that use across different computers with different usernames and sometimes even a friend's computer. I use Windows 7 by the way.
Here's what I want to happen:
The script file will find a file/files in the C/Users/(username)/AppData folder and replace it with a certain file that I have modified. I would like it to work even though the directory I specified (C/Users/(username)/AppData) is a system hidden folder and will also work even though the computer usernames are different.
That's all. Thanks. I just need it to change the user settings of a certain application that use across different computers with different usernames and sometimes even a friend's computer. I use Windows 7 by the way.
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
greatestgen_11
13 years ago
Posted by:
anonymous_9363
13 years ago
Since this is clearly a wind-up...http://www.lmgtfy.com/?q=vbscript+find+replace+file
Posted by:
anonymous_9363
13 years ago
You will, no doubt, have performed a cursory browse of this and other fora on AppDeploy and will thus have come to the inevitable conclusion that the folks here are more than willing to help. However, you may have also seen that we are somewhat scathing about those who do nothing to help themselves first.
Using a popular search engine, I located many script samples which would form the bare bones of the functionality you have outlined. Download, disassemble, research, experiment, THEN post with any questions.
Using a popular search engine, I located many script samples which would form the bare bones of the functionality you have outlined. Download, disassemble, research, experiment, THEN post with any questions.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.