This 8.3 naming stuff is "bad juju". Using WinXP or later, there is no reason to work with an 8.3 name. The 8.3 name for a given file varies depending upon other similar files which are in that directory and would "hash" to the same 8.3 name! There is no fixed 8.3 name for a Windows NTFS file name.
Also, with Win XP (or greater) in most (not all) cases, you can use "/" instead of "\", so this confusing "\\" stuff is not necessary.
What does this mean: the "______" to the external command has some special characters in it.?
Update:
I ran some quick tests...
It is important that you show us exactly the code that you are using. Try again and please pay attention to what I said about 8.3 names -> don't use them! Somewhere I have the algorithm for generating 8.3 names, but it might take me a couple of hours to find it. But this one of those deals where if you have all of the information to generate the 8.3 name, then you don't need the 8.3 name! Use the NTFS 32 character name!C:\PROJECTS>dir //$home Invalid switch - "/". C:\PROJECTS>dir /$home Invalid switch - "$home". C:\PROJECTS>dir \\$home The filename, directory name, or volume label syntax is incorrect. C:\PROJECTS>dir \$home Volume in drive C is Main-Max Volume Serial Number is 89D1-9F45 Directory of C:\ File Not Found C:\PROJECTS>dir "\$home" Volume in drive C is Main-Max Volume Serial Number is 89D1-9F45 Directory of C:\ File Not Found C:\PROJECTS>dir c:\ Volume in drive C is Main-Max Volume Serial Number is 89D1-9F45 Directory of c:\ MANY..MANY files....meaning that windows had trouble with: dir "\$home +"
In reply to Re: perl windows backtick problem
by Marshall
in thread perl windows backtick problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |