home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Software
Tools and other software
FileBot - The ultimate TV Renamer and Subtitle Downloader
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="kiwijunglist" data-source="post: 928632" data-attributes="member: 76888"><p>Thanks <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p> </p><p>I just learnt something I see you used %*</p><p>I had been doing the following</p><p>[spoiler]</p><p>[code]</p><p>REM ######################################</p><p>REM # Turn the command line arguments into a</p><p>REM # single string called path_and_filename</p><p>REM ######################################</p><p> </p><p>SET AA=%~1</p><p>SET AB=%~2</p><p>SET AC=%~3</p><p>SET AD=%~4</p><p>SET AE=%~5</p><p>SET AF=%~6</p><p>SET AG=%~7</p><p>SET AH=%~8</p><p>SET AI=%~9</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SET AJ=%~1</p><p>SET AK=%~2</p><p>SET AL=%~3</p><p>SET AM=%~4</p><p>SET AN=%~5</p><p>SET AO=%~6</p><p>SET AP=%~7</p><p>SET AQ=%~8</p><p>SET AR=%~9</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SHIFT</p><p>SET AS=%~1</p><p>SET AT=%~2</p><p>SET AU=%~3</p><p>SET AV=%~4</p><p>SET AW=%~5</p><p>SET AX=%~6</p><p>SET AY=%~7</p><p>SET AZ=%~8</p><p>SET A_=%~9</p><p> </p><p>set "TSRecording=%AA% %AB% %AC% %AD% %AE% %AF% %AG% %AH% %AI% %AJ% %AK% %AL% %AM% %AN% %AO% %AP% %AQ% %AR% %AS% %AT% %AU% %Av% %AW% %AX% %AY% %AZ% %A_%"</p><p> </p><p>REM ######################################</p><p>REM # Remove Spaces at the end of the string</p><p>REM ######################################</p><p> </p><p>set str=%TSRecording%</p><p> </p><p>set str=%str%##</p><p>set str=%str: ##=##%</p><p>set str=%str: ##=##%</p><p>set str=%str: ##=##%</p><p>set str=%str: ##=##%</p><p>set str=%str: ##=##%</p><p>set str=%str:##=%</p><p> </p><p>set TSRecording=%str%[/code][/spoiler]</p><p> </p><p>on my HTPC Java wasn't part of the path environment, so I had to add some additional lines of code to filebot.cmd which located the java installation directory. It seems java install by default doesn't set path.</p></blockquote><p></p>
[QUOTE="kiwijunglist, post: 928632, member: 76888"] Thanks :D I just learnt something I see you used %* I had been doing the following [spoiler] [code] REM ###################################### REM # Turn the command line arguments into a REM # single string called path_and_filename REM ###################################### SET AA=%~1 SET AB=%~2 SET AC=%~3 SET AD=%~4 SET AE=%~5 SET AF=%~6 SET AG=%~7 SET AH=%~8 SET AI=%~9 SHIFT SHIFT SHIFT SHIFT SHIFT SHIFT SHIFT SHIFT SHIFT SET AJ=%~1 SET AK=%~2 SET AL=%~3 SET AM=%~4 SET AN=%~5 SET AO=%~6 SET AP=%~7 SET AQ=%~8 SET AR=%~9 SHIFT SHIFT SHIFT SHIFT SHIFT SHIFT SHIFT SHIFT SHIFT SET AS=%~1 SET AT=%~2 SET AU=%~3 SET AV=%~4 SET AW=%~5 SET AX=%~6 SET AY=%~7 SET AZ=%~8 SET A_=%~9 set "TSRecording=%AA% %AB% %AC% %AD% %AE% %AF% %AG% %AH% %AI% %AJ% %AK% %AL% %AM% %AN% %AO% %AP% %AQ% %AR% %AS% %AT% %AU% %Av% %AW% %AX% %AY% %AZ% %A_%" REM ###################################### REM # Remove Spaces at the end of the string REM ###################################### set str=%TSRecording% set str=%str%## set str=%str: ##=##% set str=%str: ##=##% set str=%str: ##=##% set str=%str: ##=##% set str=%str: ##=##% set str=%str:##=% set TSRecording=%str%[/code][/spoiler] on my HTPC Java wasn't part of the path environment, so I had to add some additional lines of code to filebot.cmd which located the java installation directory. It seems java install by default doesn't set path. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Software
Tools and other software
FileBot - The ultimate TV Renamer and Subtitle Downloader
Contact us
RSS
Top
Bottom