batch file : 4 line code— This file is called by another batch file that works fine [on hold]












-2















It was suggested to repost my question on Code Review: Appreciate any feedback.



Intro: I placed some home videos on a flash drive, I have a batch file with a menu that calls on any specific video through a separate batch file designated to that video. I have placed on the flash drive a VLC portable player to use regardless of PC.



Problem: As shown below in my work, a very simple batch file with the sole purpose of starting a video using a portable copy of VLC (VLCportable).



The VLCportablevlcportable is for opening the video player



The sdavideoscd1vts_02_0.ifo is location and video file to open



Surprisingly this does work, but I know it is not right and seek guidance to make the code proper and understand the correct structure.





@echo off
VLCportablevlcportable sdavideoscd1vts_02_0.ifo
start sdavideoscd1vts_02_0.ifo

exit




It was pointed out that the line.......
VLCportablevlcportable sdavideoscd1vts_02_0.ifo
line does nothing, but it does because operation works with it, but not without it.



Also it will not work without the start line.



Any crit will be appreciated, or opinion if you have the time.



It does work, everything is on the flash drive, but I would like it to work and also be written right.










share|improve this question









New contributor




showard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by πάντα ῥεῖ, Stephen Rauch, Jamal 23 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Lacks concrete context: Code Review requires concrete code from a project, with sufficient context for reviewers to understand how that code is used. Pseudocode, stub code, hypothetical code, obfuscated code, and generic best practices are outside the scope of this site." – πάντα ῥεῖ, Stephen Rauch, Jamal

If this question can be reworded to fit the rules in the help center, please edit the question.


















    -2















    It was suggested to repost my question on Code Review: Appreciate any feedback.



    Intro: I placed some home videos on a flash drive, I have a batch file with a menu that calls on any specific video through a separate batch file designated to that video. I have placed on the flash drive a VLC portable player to use regardless of PC.



    Problem: As shown below in my work, a very simple batch file with the sole purpose of starting a video using a portable copy of VLC (VLCportable).



    The VLCportablevlcportable is for opening the video player



    The sdavideoscd1vts_02_0.ifo is location and video file to open



    Surprisingly this does work, but I know it is not right and seek guidance to make the code proper and understand the correct structure.





    @echo off
    VLCportablevlcportable sdavideoscd1vts_02_0.ifo
    start sdavideoscd1vts_02_0.ifo

    exit




    It was pointed out that the line.......
    VLCportablevlcportable sdavideoscd1vts_02_0.ifo
    line does nothing, but it does because operation works with it, but not without it.



    Also it will not work without the start line.



    Any crit will be appreciated, or opinion if you have the time.



    It does work, everything is on the flash drive, but I would like it to work and also be written right.










    share|improve this question









    New contributor




    showard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    put on hold as off-topic by πάντα ῥεῖ, Stephen Rauch, Jamal 23 hours ago


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "Lacks concrete context: Code Review requires concrete code from a project, with sufficient context for reviewers to understand how that code is used. Pseudocode, stub code, hypothetical code, obfuscated code, and generic best practices are outside the scope of this site." – πάντα ῥεῖ, Stephen Rauch, Jamal

    If this question can be reworded to fit the rules in the help center, please edit the question.
















      -2












      -2








      -2








      It was suggested to repost my question on Code Review: Appreciate any feedback.



      Intro: I placed some home videos on a flash drive, I have a batch file with a menu that calls on any specific video through a separate batch file designated to that video. I have placed on the flash drive a VLC portable player to use regardless of PC.



      Problem: As shown below in my work, a very simple batch file with the sole purpose of starting a video using a portable copy of VLC (VLCportable).



      The VLCportablevlcportable is for opening the video player



      The sdavideoscd1vts_02_0.ifo is location and video file to open



      Surprisingly this does work, but I know it is not right and seek guidance to make the code proper and understand the correct structure.





      @echo off
      VLCportablevlcportable sdavideoscd1vts_02_0.ifo
      start sdavideoscd1vts_02_0.ifo

      exit




      It was pointed out that the line.......
      VLCportablevlcportable sdavideoscd1vts_02_0.ifo
      line does nothing, but it does because operation works with it, but not without it.



      Also it will not work without the start line.



      Any crit will be appreciated, or opinion if you have the time.



      It does work, everything is on the flash drive, but I would like it to work and also be written right.










      share|improve this question









      New contributor




      showard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      It was suggested to repost my question on Code Review: Appreciate any feedback.



      Intro: I placed some home videos on a flash drive, I have a batch file with a menu that calls on any specific video through a separate batch file designated to that video. I have placed on the flash drive a VLC portable player to use regardless of PC.



      Problem: As shown below in my work, a very simple batch file with the sole purpose of starting a video using a portable copy of VLC (VLCportable).



      The VLCportablevlcportable is for opening the video player



      The sdavideoscd1vts_02_0.ifo is location and video file to open



      Surprisingly this does work, but I know it is not right and seek guidance to make the code proper and understand the correct structure.





      @echo off
      VLCportablevlcportable sdavideoscd1vts_02_0.ifo
      start sdavideoscd1vts_02_0.ifo

      exit




      It was pointed out that the line.......
      VLCportablevlcportable sdavideoscd1vts_02_0.ifo
      line does nothing, but it does because operation works with it, but not without it.



      Also it will not work without the start line.



      Any crit will be appreciated, or opinion if you have the time.



      It does work, everything is on the flash drive, but I would like it to work and also be written right.







      video batch






      share|improve this question









      New contributor




      showard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      showard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited yesterday









      aduguid

      3321318




      3321318






      New contributor




      showard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      showardshoward

      1




      1




      New contributor




      showard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      showard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      showard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      put on hold as off-topic by πάντα ῥεῖ, Stephen Rauch, Jamal 23 hours ago


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Lacks concrete context: Code Review requires concrete code from a project, with sufficient context for reviewers to understand how that code is used. Pseudocode, stub code, hypothetical code, obfuscated code, and generic best practices are outside the scope of this site." – πάντα ῥεῖ, Stephen Rauch, Jamal

      If this question can be reworded to fit the rules in the help center, please edit the question.




      put on hold as off-topic by πάντα ῥεῖ, Stephen Rauch, Jamal 23 hours ago


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Lacks concrete context: Code Review requires concrete code from a project, with sufficient context for reviewers to understand how that code is used. Pseudocode, stub code, hypothetical code, obfuscated code, and generic best practices are outside the scope of this site." – πάντα ῥεῖ, Stephen Rauch, Jamal

      If this question can be reworded to fit the rules in the help center, please edit the question.






















          0






          active

          oldest

          votes

















          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          Сан-Квентин

          Алькесар

          Josef Freinademetz