Is there a way to run a batch script based on OU memberships. I have setup different OU's for my workstations and servers. I would like to have a vbscript determain the membership and run a specific script according to the membership. Is there a way to do this.. Cutting my teeth in Scripting...
No antivirus install as of yet, and not on a corp network, not part of a domain. It's a system that I use to make base images for deployment of XP. I think I'm getting close to figuring out what happened.
I have a script that I was running with no problems at all, and all of a sudden I'm getting this error. "Could not locate automation class named "Scripting.FileSystemObject".
Line: 4
Char: 1
Code 80020009
Source WScript.CreateObject
Here is the first few lines of the script..
' Create the...
Okay, got that, now is there anyway to copy the contents of that folder selected including all subfolders and files to anothere directory..?. Almost there...
Thanks for the help.
That's cool PH, any way to take that info and to the next stage after clicking okay. Let me futher complicate it by asking if there is a way to default select folder to appdata/mozilla/firefox/profile for instance.
Man, I have to learn this VBS stuff..
Thanks..
Hi there, I am trying to copy the contents of a folder when the name isn't allways known. I need to get the name of the folder and then use that name to copy the folder contents. The path is like so.. appdata/mozilla/profiles/ the folder name could be anything such as 42ndz6y7.default. Is this...
I am trying to do a xcopy in a folder that has a random folder name scheme. For instance, I need to copy folder 47pntgd2.Default The next PC may have 48ntpgd2.default. The only common factor is that the folder name ends with .default
I have tried xcopy "C:\DOCUME~1\%USERNAME%\APPLICATION...
I see. This will work.. I was hoping for a variable something like C:/Documents%20and%20Settings/*this could be anything*/Application%20Data/Mozilla/Firefox/Profiles/*this could be anything*
But this will do... Thanks for your help.. I tried it and it works great..
Is it posible to grab the...
thanks for the reply tsuji. Let me clarify a couple of things to see if this is going to work.. This whole line will need to be changed C:/Documents%20and%20Settings/clasik/Application%20Data/Mozilla/Firefox/Profiles/clasik
It would be changed to ****CHANGETHISSTRING****.
So in effect it...
Hi, I want to start by saying I know nothing about VBScripts. With that said, I am trying to figure out a way to find and replace text in a text file. I am looking to do something like this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.