Re: unlink question
[email protected] (ToddAndMargo via perl6-users) Thu, 9 Oct 2025 20:29:38 -0700
| Newsgroups | perl.perl6.users |
|---|---|
| Message-ID | <[email protected]> |
On 10/9/25 9:04 AM, Tom Browder wrote: > And I just checked, "File::Find" does work on Windows! > > -Tom This program of mine runs in Fedora 41 (Linux). The Raku File IO in runs perfectly, well, until this point. I was hoping it was something I was doing wrong, as I can fix that. I do write for Windows, but I prefer Linux. Problem is that my customer mainly run Windows. In days of yesteryear, the Windows File IO was a nightmare as it did not recognize UNC file paths (\\IP_address\directory\etc). It lopped off one of the back slashes at the beginning and inserted a drive letter. It is also impossible to see files in the shadow (\\?\xxxx) because of it. It may be fixed by now, but I have not tested it. I wrote a module that makes calls to powershell for the file IO commands I needed. I was thinking of replacing the calls to powershell with API calls, but it is just easier to call powershell. API call would be more friendly to Windows 7, but I no longer have any customers in Windows 7.