question mike

Help and support forum for Mike Simpson's RW Tools

Moderator: mikesimpson

Re: question mike

Unread postby mikesimpson » Fri Jan 31, 2014 5:30 pm

Hi Bob,

I could not see where that was happening, I tried 4 providers and all worked OK. I will just have to try harder.

However, I think DEL would be a bit dangerous, maybe better to move the files to a backup somewhere in case of an error?

Mike
mikesimpson
 
Posts: 364
Joined: Sun Feb 15, 2009 4:49 pm

Re: question mike

Unread postby artimrj » Fri Jan 31, 2014 7:33 pm

Both providers I tried on my route were the largest ones. I did the RCAP package first, then my SMM Digital provider with all of his stuff which is as big as the RCAP. The other night when I first got the error. I did two small ones first then a big one. I did small ones because I did not want to wait too long cause I was ready for bed.

If your afraid of delete, anything to get those files out of the route structure would be a blessing.
Bob Artim - Generation X²
I don't have a PHD, I have a DD214... Freedom carries sacrifice
I'm crawling in the dark looking for the answer
User avatar
artimrj
 
Posts: 4721
Joined: Sun Jan 31, 2010 3:07 pm
Location: Beaver, Pennsylvania

Re: question mike

Unread postby mikesimpson » Sat Feb 01, 2014 5:50 pm

Hi Bob,

I tried adding DEL to each line, but when I ran the batch file it kept saying 'File not found' - I am not sure but may be a problem with the length of strings in DOS, many of these items are about 8 folders down in the file-tree. So I need to do some more testing there.

I found the error, it was not the size, but it was when there were no Scenery items at all (i.e. when there was no extra Scenery sub folder in a Scenario folder).

Will see what I can do today.

Mike
mikesimpson
 
Posts: 364
Joined: Sun Feb 15, 2009 4:49 pm

Re: question mike

Unread postby Chacal » Sat Feb 01, 2014 8:06 pm

Maybe you don't need to add the DEL command.
If you output a list of files, it is easy to make a batch file for deleting those files.
I can do that for those interested.

Basically, it looks like this:
Code: Select all
REM delete files listed in a text file
FOR /F "delims=" %%i IN (files.txt) DO (
DEL %%i
)


I just need a sample output file from RW-Tools for testing.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6515
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: question mike

Unread postby mikesimpson » Sat Feb 01, 2014 9:46 pm

Thanks, but I have now uploaded a new version v5.0.49 to my site - that gives the opportunity to either add DEL before the address of the file or not. If DEL is added then when the file is saved, it is saved as a .bat file and appears to work fine.

Mike
mikesimpson
 
Posts: 364
Joined: Sun Feb 15, 2009 4:49 pm

Re: question mike

Unread postby eyein12 » Sun Feb 02, 2014 7:19 am

great job mike will test this tonight when I get home
Home of the NEW TIER 4 GEVO PACK, SD90/80mac PACK, BNSF SEATTLE SUBDIVISION ROUTE,UPDATES and more...

http://eyein12.blogspot.com/

https://www.youtube.com/channel/UCtWF-X ... dY7ag/feed
eyein12
 
Posts: 1258
Joined: Fri Oct 15, 2010 9:47 am
Location: Pottstown, PA USA

Re: question mike

Unread postby eyein12 » Wed Feb 05, 2014 11:08 am

Mike,

Im still getting a script error 9 message. subscript out of range it says when I try to run the function to find things not used by P/P. !*don-know!*
Home of the NEW TIER 4 GEVO PACK, SD90/80mac PACK, BNSF SEATTLE SUBDIVISION ROUTE,UPDATES and more...

http://eyein12.blogspot.com/

https://www.youtube.com/channel/UCtWF-X ... dY7ag/feed
eyein12
 
Posts: 1258
Joined: Fri Oct 15, 2010 9:47 am
Location: Pottstown, PA USA

Re: question mike

Unread postby mikesimpson » Wed Feb 05, 2014 2:41 pm

Ok, will have another look, but it has worked on all routes I have tried here.

Mike
mikesimpson
 
Posts: 364
Joined: Sun Feb 15, 2009 4:49 pm

Re: question mike

Unread postby eyein12 » Wed Feb 05, 2014 3:01 pm

I wonder if it doesnt want to work with mine?
Home of the NEW TIER 4 GEVO PACK, SD90/80mac PACK, BNSF SEATTLE SUBDIVISION ROUTE,UPDATES and more...

http://eyein12.blogspot.com/

https://www.youtube.com/channel/UCtWF-X ... dY7ag/feed
eyein12
 
Posts: 1258
Joined: Fri Oct 15, 2010 9:47 am
Location: Pottstown, PA USA

Re: question mike

Unread postby artimrj » Wed Feb 05, 2014 3:07 pm

I just got one on my NERW route. I was going to see what I included that never got used. Been thinking about updating it a little with all the new RCAP stuff and fix some rough spots and some floating trees I am still finding.
Bob Artim - Generation X²
I don't have a PHD, I have a DD214... Freedom carries sacrifice
I'm crawling in the dark looking for the answer
User avatar
artimrj
 
Posts: 4721
Joined: Sun Jan 31, 2010 3:07 pm
Location: Beaver, Pennsylvania

Re: question mike

Unread postby eyein12 » Wed Feb 05, 2014 3:18 pm

artimrj wrote:I just got one on my NERW route. I was going to see what I included that never got used. Been thinking about updating it a little with all the new RCAP stuff and fix some rough spots and some floating trees I am still finding.


and did it work for you...

Basicaly im thinking my route folder is too large?
Home of the NEW TIER 4 GEVO PACK, SD90/80mac PACK, BNSF SEATTLE SUBDIVISION ROUTE,UPDATES and more...

http://eyein12.blogspot.com/

https://www.youtube.com/channel/UCtWF-X ... dY7ag/feed
eyein12
 
Posts: 1258
Joined: Fri Oct 15, 2010 9:47 am
Location: Pottstown, PA USA

Re: question mike

Unread postby artimrj » Wed Feb 05, 2014 4:50 pm

No I got the error 9 that's what "I got one on the NERW" meant.
Bob Artim - Generation X²
I don't have a PHD, I have a DD214... Freedom carries sacrifice
I'm crawling in the dark looking for the answer
User avatar
artimrj
 
Posts: 4721
Joined: Sun Jan 31, 2010 3:07 pm
Location: Beaver, Pennsylvania

Re: question mike

Unread postby mikesimpson » Thu Feb 06, 2014 8:52 pm

Hi All,

OK, I found it this time, problem was that eyore/Cranes was selected in your route, but not used. This confused RW_Tools as it expected that Providers/Products listed in the RouteProperties.xml would be used.

See new version http://www.rstools.info/Public/RW_Tools.zip

Mike
mikesimpson
 
Posts: 364
Joined: Sun Feb 15, 2009 4:49 pm

Re: question mike

Unread postby artimrj » Fri Feb 07, 2014 9:49 am

Mike I had a few minutes to try this and this is what happened. Picked NERW route and SMMDigital assets for the Railnetwork. I got the error 9 subscript out of range when choosing assets NOT used. I did it again only this time I chose Assets used first, then when I did assets NOT used after that it did not error. You have to view what is used before viewing what is not used or it errors.
Bob Artim - Generation X²
I don't have a PHD, I have a DD214... Freedom carries sacrifice
I'm crawling in the dark looking for the answer
User avatar
artimrj
 
Posts: 4721
Joined: Sun Jan 31, 2010 3:07 pm
Location: Beaver, Pennsylvania

Re: question mike

Unread postby eyein12 » Fri Feb 07, 2014 10:43 am

yeah same here. but if you click on del...YES I get an error, but clicking on del no I dont.
Home of the NEW TIER 4 GEVO PACK, SD90/80mac PACK, BNSF SEATTLE SUBDIVISION ROUTE,UPDATES and more...

http://eyein12.blogspot.com/

https://www.youtube.com/channel/UCtWF-X ... dY7ag/feed
eyein12
 
Posts: 1258
Joined: Fri Oct 15, 2010 9:47 am
Location: Pottstown, PA USA

PreviousNext

Return to RW Tools

Who is online

Users browsing this forum: No registered users and 1 guest