Thanks
I just learnt something I see you used %*
I had been doing the following
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.
I just learnt something I see you used %*
I had been doing the following
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%
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.
Last edited: