- printf("bbiWeb...3\n");
-// std::string f(argv[1]);
-// std::string f("/var/www/testwtdbg/docroot/.bbtk/tmp/testwt.bbs");
- std::string f("/var/www/testwtdbg/docroot/.bbtk/tmp/demoPresentacion1Boton02.bbs");
- printf("bbiWeb...4\n");
- I->InterpretFile(f);
- printf("bbiWeb...5\n");
+
+printf("bbiWeb...C\n");
+
+ std::string fileName = argv[0];
+ std::size_t pos = fileName.find("_");
+ fileName = fileName.substr (pos+1);
+ pos = fileName.find(".wt");
+ fileName = fileName.erase (pos);
+ fileName = "bbs/"+fileName;
+
+printf("bbiWeb fileName %s\n", fileName.c_str() );
+// std::string fileName("/var/www/testwtdbg/docroot/.bbtk/tmp/demoPresentacion1Boton02.bbs");
+
+
+
+
+ printf("bbiWeb...D\n");
+ I->InterpretFile(fileName);
+ printf("bbiWeb...E\n");