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 Mike Lewis 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: m2244
  • Order by date
  1. m2244

    How to use regex and vbscript to work with nested tags

    Hello, I have a script that is copying HTML files from one folder to another. I need to add to this script so that I can target a specific div '<div id="page_content_top_stage">' and grab all of the content in that div. The hard part is ignoring nested divs. In other words, the regex I have now...
  2. m2244

    I need help converting between file structures

    Hey guitarzan, I got it working finally. Thank you for all your help. I ended up grabbing the sco number and comparing it to the lesson title number around line 40. I am posting the code just incase anyone wants it. Now I need to do some regex with the HTML files to strip out unwanted code. I...
  3. m2244

    I need help converting between file structures

    Hey man, Sorry to bother you again but I am trying to get this done before I have to travel again. In the piece of code below it apears that the source variable does not change correctly so that the files from that source are being copied into multiple destination folders. If...
  4. m2244

    I need help converting between file structures

    guitarzan, Are you still there?
  5. m2244

    I need help converting between file structures

    I believe we are on the same page. I wish I could show you the file structure, it would be much easier to explain. The lesson data text files list the scos in that Block folder. If you refer to the diagram below, all of the _lesson_data files in Block folder 1 are duplicates. Not sure why they...
  6. m2244

    I need help converting between file structures

    Maybe the HTML files should be created right after each lesson folder is created?
  7. m2244

    I need help converting between file structures

    Yes that's correct with one note, the _page_titles_ file in sco_01 will be named '_page_titles_01.txt'. Small detail but I thought I would mention it. But each sco folder will only have one page titles file anyway so I was just goin gto look for '_page_titles_' and not worry about the number...
  8. m2244

    I need help converting between file structures

    This would probably be clearer if I could attach a sample of the the old and new file structures. Step 1: Recursively search the old structure for folders named 'sco_xx' (01, 02, 03, etc). These folders represent lesson folders. For each one of these 'sco_xx' folders I need to create a new...
  9. m2244

    I need help converting between file structures

    Thanks guitarzan, I forgot I posted here a couple of weeks ago. I am in the military and had to go on a trip, I was hurrying around trying to get this done before I left. Now that I am back I really need to get this taken care of. I will post the code but without the file structure example I...
  10. m2244

    I need help converting between file structures

    I have a vbscript that is close to working but I need someone who knows what they are doing to help me with it. I am trying to convert an old file structure to a new file structure, renaming folders and files, copying files, etc. The problem is that it's hard to explain what I am trying to do...
  11. m2244

    I am at my wit's end with this script, seriously frustrated. Willing to pay for help.

    I am not an expert with vbscript but I didn't think I would have this much of a problem with it. I'm sure that someone with more experience would not have a problem with this, it would just take some explaining. I need this soon so if someone would help I am willing to pay them. Ultimate goal...

Part and Inventory Search

Back
Top