Closed SrNightmare09 closed 1 year ago
Can you describe the issue a bit more? Possibly with images/video.
Can you describe the issue a bit more? Possibly with images/video.
well, if you check out the build-script-test
branch, I am aiming to create a batch file which a person can download to easily check out this project. I have been successful in cloning the repository in the person's system, but I cannot get the browser to open at a certain file directory.
example: if after cloning the repo, the project gets added to a certain system directory, the person can view the website by directly typing in the directory address for the index.html file in their browser. however, when i try using the start
command to open the browser with the file link, the system opens file explorer instead of the browser.
I will make sure to follow up this comment with a video soon.
Okay, I can start working on this.
@SrNightmare09 Did you mean that it should work like this?
My current code clones the repo and opens the index.html file
I think @Prashanth-Chandra code works fine. Once the repository is cloned user can simply open .html file to load the FEN-reader in the default browser. Your thoughts @SrNightmare09 ?
I think @Prashanth-Chandra code works fine. Once the repository is cloned user can simply open .html file to load the FEN-reader in the default browser. Your thoughts @SrNightmare09 ?
I actually did not get the issue, I assumed that this was the issue and worked on it 😅
Yes, his code works perfectly! Though I am not really sure what was wrong with my script.
@SrNightmare09 In the code you write did you add '@' before "REM GET DIRECTORY" and "REM GET PARENT DIRS"
And there is an error in start "" %PARENT_DIR%
It should actually be start "%PARENT_DIR%"
And you are trying to open the folder not index.html Your code will open the directory in cmd not in explorer
@Prashanth-Chandra oh i see, how stupid of me haha.
the
start
command of the batch script file opens a new window of file explorer rather than of the browser