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