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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: 7Star
  • Order by date
  1. 7Star

    List group membership for all users in domain

    I found a script from some ms site that list groups that a user are member of, even nested groups. But that I want to be able to do with this script is not having specify which OU the user resides in. I want to search for a user in the whole domain and see what groups the user are member of. Any...
  2. 7Star

    remove pathname

    thx, exactly what I was looking for!
  3. 7Star

    remove pathname

    I have a variable that contain a path like /home/test/file.jpg and I want to get only the filename out of the whole path, filename.jpg, any idea how to do that? / Ola
  4. 7Star

    input from multiple text files

    Thanks cyan01 will test this later. And to KevinADC; no it isnt, actually the program going to count some textstring not really words. Have some sequences mixed with numbers and characters that I want to count.
  5. 7Star

    input from multiple text files

    Hi, I try to make a perl program that count words from text files and from parsed html files. Right now I just started with text files and try to count the words in them. If I specify multiples text files as arguments to my program the program count all words from all files and put them in an...
  6. 7Star

    renaming files

    Thanks a lot, it works just fine now.
  7. 7Star

    renaming files

    I'm not so good at vbscript, how do I use objfile.extension and where should I use it in the script? Instead of the * in the select query?
  8. 7Star

    renaming files

    Hi, I was trying to create a script that renames .jpg files based on the last modified date. I found a script at microsofts scriptcenter: strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set FileList = objWMIService.ExecQuery _ ("ASSOCIATORS OF...
  9. 7Star

    How to make this sql query?

    Oh, it wasnt harder than that? :) Thanks a lot, both of you
  10. 7Star

    How to make this sql query?

    Hi, I was wondering if anyone could help me do the following query in sql: In my database I have a column, PNR, that stores values in the with the format XXXXX-XXXX, where X can be either a numerical value or a letter. The data I want to get from the column PNR is records that does have one or...
  11. 7Star

    search and compare strings with vbscript

    I must be very stupid, or just very bad at creating scripts because I don't get it to work. Get error message that the object already exist when running it as it did before. I added the lines in my script but I'm not sure if I have understood it right. The lines I have added is in bold text...
  12. 7Star

    search and compare strings with vbscript

    I'm not sure if I understand the thing with WinNT:provider. I don't have anything more in my csv file, just first name and last name in it. So from that list I want in some way create unique samaccountnames. Can't I compare the names in the file and if there's more than one name thats alike it...
  13. 7Star

    search and compare strings with vbscript

    Hi, I have made a script that add user accounts from a comma separated file (.csv) into Active Directory. My CSV file looks like this (shortened): Elin,Adolfsson Doris,Ahlander Daniel,Akermark Christian,Andersson Daniel,Alkerstedt Daniel,Alm Claes,Andersson Christian,Andersson From this file...

Part and Inventory Search

Back
Top