Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Build Perl win32 with a ' ' in install dir

by soonix (Canon)
on Jan 06, 2020 at 11:40 UTC ( #11111048=note: print w/replies, xml ) Need Help??

in reply to Build Perl win32 with a ' ' in install dir

Starting from Win95 until recently (don't know if it works under Win10, but probably yes), you could use C:\PROGRA~1 instead of C:\Program Files - it is certainly worth a try.

Update: WP on 8.3 filenames

NTFS, a file system used by the Windows NT family, supports LFNs natively, but 8.3 names are still available for legacy applications. This can optionally be disabled […]

Replies are listed 'Best First'.
Re^2: Build Perl win32 with a ' ' in install dir
by fdesar (Beadle) on Jan 06, 2020 at 13:24 UTC

    it seems it doen't work anymore on Windows 10 :

    If I do in a DOS shell a

    dir c:\progra-1

    the only thing I get is a "File not found"!

      Attention: ~ is not a dash, it should be a (squiggly) tilde.

        ... and depending on the previous use of the filesystem, C:\Program Files does not always have the short filename C:\Progra~1. Use dir /x to find the short filename.


        Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
      dir c:\progra-1

      It's a tilde (~), not a dash (-). Try

      dir c:\progra~1
      perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

      it seems it doen't work anymore on Windows 10 :


      AFAIK, Its a feature you have to choose to turn on, it affects cmd.exe globbing (extra matches)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2020-06-07 09:43 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (42 votes). Check out past polls.