/build/static/layout/Breadcrumb_cap_w.png

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.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: greatestgen_11 12 years ago
Senior Yellow Belt
0
So ok. What can i type in the search engine? Being a noob, i do not know official terminoligies. Sorry
Posted by: anonymous_9363 12 years ago
Red Belt
0
Since this is clearly a wind-up...http://www.lmgtfy.com/?q=vbscript+find+replace+file
Posted by: anonymous_9363 12 years ago
Red Belt
-1
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ