Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: How to pass a folder name to Windows external commands? (Unicode)

by Anonymous Monk
on Mar 04, 2022 at 12:10 UTC ( [id://11141825]=note: print w/replies, xml ) Need Help??


in reply to How to pass a folder name to Windows external commands?

What am I doing wrong?

you're half a^Befforting, not your fault you need maximum effort. Win32::Unicode Win32::Unicode its simpler/more portable to avoid unicode in filenames and shells Re^4: How can I get a Unicode @ARGV?

Replies are listed 'Best First'.
Re^2: How to pass a folder name to Windows external commands? (Shortpathname)
by Anonymous Monk on Mar 04, 2022 at 12:17 UTC
    Shortpathname has caveats, cmd.exe dir wildcards with short names, real surprise after a few decades. , newer versions of windows dont turn on 8.3 names by default

      Short pathnames will work for my folders, but not for my files. One of the commands I execute to check FLAC files needs the Unicode pathname because it doesn't recognize .FLA files.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11141825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-03-29 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found