Once you rip a 4k movie, you can try to stream the raw. Be careful, if you do something wrong you can brick the drive. If you use a different drive, you will need to research the command switches to use. The above command works for the specific drive that I mentioned above. bin file that will re-write the drive's firmware. The -i switch should be followed by the full path to the. Notes: The -d switch should be followed by the drive letter of your external 4k drive, e.g. bin file in the -i switch to the bin file that matches your drive. From the command line, go to the MakeMKV install directory and run the makemkvcon64.exe command from step 3 or 4 (depending on whether your drive's firmware is encrypted or not) of the YouTube video notes from above, but replace the. The flash will also make the drive region-free as an added bonus. You will need to flash the drive firmware so that MakeMKV can rip from it. Download and extract the MakeMKV firmware pack: LINK Take a look at this YouTube video: LINK Take a look at this forum: LINK I bought an LG Model BP60NB10 external 4k blu-ray drive. This is how I did it, and if someone has a simpler way, please chime in. You will obviously need a 4k blu-ray player. parameters - A command line argument (or parameter) is any value passed into a batch script.4K can get a little tricky.An A-Z Index of the Windows CMD command line - An excellent reference for all things Windows cmd line related.%~nx2 Expand %2 to a file name and extension only %~sp1 Expand %1 to a path shortened to 8.3 characters %~dp1 Expand %1 to a drive letter and path only %~$PATH:1 Search the PATH environment variable and expand %1 to the fully qualified name of the first match found. %~1 Expand %1 removing any surrounding quotes (") %~s1 Change the meaning of f, n, s and x to reference the Short 8.3 name (if it exists.) %~x1 Expand %1 to a file eXtension only. %~n1 Expand %1 to a file Name without file extension C:\utils\MyFile or if only a path is present (with no trailing backslash) - the last folder in that path. \utils\ this includes a trailing \ which will be interpreted as an escape character by some commands. %~d1 Expand %1 to a Drive letter only - C: %~f1 Expand %1 to a Fully qualified path name - C:\utils\MyFile.txt We are using the variable %1 (but this works for any parameter) When an argument is used to supply a filename then the following I want to get the Drive letter of the file in the 2nd argumentĮcho Drive letter of second argument: %~d2Įxample Output: F:\test>myScript C:\exampleFolder\somefile.txt D:\someOtherFolder\differentfile.txtįirst argument: C:\exampleFolder\somefile.txt I thought about passing the Drive letter as a third argument. So I want to write a script that copies the file to TARGET_DRIVE\tmp and then move it to the destination. As soon as its created it must already be complete. But the file may appear at the target destination only at once. Second argument: D:\someOtherFolder\differentfile.txtĬontext: I want to write a script that does some file copy. REM Its the next line I have trouble with.Įcho Drive letter of second argument: %MAGIC%2Įxpected output: First argument: C:\exampleFolder\somefile.txt I want to get the Drive letter of the file.Įxample: myScript.bat C:\exampleFolder\somefile.txt D:\someOtherFolder\differentfile.txt (Ideally the solution would support relative files as well, but I can live with absolute-only). I'm writing a script where I will get a file name as a parameter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |