Please note that I give you here a simple example to reproduce it... this is not what I want to do in the end.
For same reason I'm having trouble unquoting file names with pdir:
T:\pdir]dir
6/13/2008 10:58 116 a b.txt
6/13/2008 10:58 184 a.txt
This works as expected, unquoting the file name indicated by the *
[T:\pdir]pdir /A:-d /(@UNQUOTES
[*]) *
T:\pdir\a b.txt
T:\pdir\a.txt
However, these do not work as I expect:
[T:\pdir]pdir /A:-d /(@LEFT[2,%@UNQUOTES
[*]]) *
"T
T:
[T:\pdir]pdir /A:-d /(@RIGHT[-2,%@UNQUOTES
[*]]) *
:\pdir\a b.txt"
\pdir\a.txt
Am I missing something?
TCC 9.02.151 Windows XP [Version 5.1.2600]
Regards,
Franco
For same reason I'm having trouble unquoting file names with pdir:
T:\pdir]dir
6/13/2008 10:58 116 a b.txt
6/13/2008 10:58 184 a.txt
This works as expected, unquoting the file name indicated by the *
[T:\pdir]pdir /A:-d /(@UNQUOTES
[*]) *
T:\pdir\a b.txt
T:\pdir\a.txt
However, these do not work as I expect:
[T:\pdir]pdir /A:-d /(@LEFT[2,%@UNQUOTES
[*]]) *
"T
T:
[T:\pdir]pdir /A:-d /(@RIGHT[-2,%@UNQUOTES
[*]]) *
:\pdir\a b.txt"
\pdir\a.txt
Am I missing something?
TCC 9.02.151 Windows XP [Version 5.1.2600]
Regards,
Franco