Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mrclasik

  1. mrclasik

    Run Script based on Membership.??

    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...
  2. mrclasik

    Having trouble with script.

    got it... you were dead on TSUJI.. thanks
  3. mrclasik

    Having trouble with script.

    It's definitely security. It only runs under my logon. I get the error logged in as anyone else. Just to don't know where to go from here...
  4. mrclasik

    Having trouble with script.

    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.
  5. mrclasik

    Having trouble with script.

    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...
  6. mrclasik

    Copy Folder Contents help!!

    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.
  7. mrclasik

    Copy Folder Contents 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..
  8. mrclasik

    Copy Folder Contents help!!

    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...
  9. mrclasik

    Variables in xcopy batch help!!??

    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...
  10. mrclasik

    Changing text in text files. Help

    I told you have no clue of vbscript.. :) But with you two helping, it worked.. it really worked...
  11. mrclasik

    Changing text in text files. Help

    that's cool PH. Now how do we get the username to = sname in that script.?
  12. mrclasik

    Changing text in text files. Help

    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...
  13. mrclasik

    Changing text in text files. Help

    Can a variable be used for clasik? If so , this would work perfectly..
  14. mrclasik

    Changing text in text files. Help

    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...
  15. mrclasik

    Changing text in text files. Help

    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...

Part and Inventory Search

Back
Top