long-filenames Questions

4

Solved

I am writing a Windows batch script, and I have an argument or variable containing a path that uses short 8.3 names. The path might represent a file or folder. How can I convert the 8.3 path into ...
Sheela asked 26/12, 2015 at 18:15

3

Solved

In R, I was using write.table() to write a file into a location embedded in directories with long names. But it errors out as below: Error in file(file, ifelse(append, "a", "w")) : cannot ope...
Hardigg asked 1/10, 2014 at 21:57

15

Solved

private string[] ColeccionDeCortes(string Path) { DirectoryInfo X = new DirectoryInfo(Path); FileInfo[] listaDeArchivos = X.GetFiles(); string[] Coleccion; foreach (FileInfo FI in listaDeArchi...
Petunia asked 17/9, 2009 at 17:38

3

Solved

I am trying to convert a long filename to a short filename (8.3) on Windows. A batch-file with a command line argument works as intended: short.bat: @echo OFF echo %~s1 calling short.bat C:\Do...

1

I'm trying to follow Microsoft documentation to lift MAX_PATH file path restriction in APIs under Windows 10. It says: You can also enable the new long path behavior per app via the manifest: ...
Luckless asked 24/12, 2018 at 22:53

3

Solved

Can someone please tell us/me if the MAX_PATH issue still exists in (the technical preview of) Windows 10. And if it exists: How many characters can a path and an individual file name have?
Anteroom asked 28/12, 2014 at 21:14

2

Solved

When handling the errors that occur when trying to create an existing file or trying to use a file that doesn't exist the OSErrors that get thrown have a subclass (FileExistsError, FileNotFoundErro...
Akira asked 12/6, 2017 at 18:19

2

Solved

I use Dropbox with encfs. The problem is that my host supports only 256 characters in a filename, hence encfs supports only ~190. Is there a way to circumvent that without reinstall and increase li...
Laclos asked 23/11, 2011 at 8:40

4

Solved

I want to make a tool that takes some filenames as parameters, but when I use this code: ARGV.each do|a| puts "Argument: #{a}" end and I use drag and drop or "send to" in Windows, I get the sho...
Truthful asked 14/11, 2011 at 22:8

3

Solved

I'm looking at handling longer file paths in my windows application. Currently, I have a text box (edit box) in which a user can type an absolute file path. I then read that typed file path, using...
Packton asked 18/7, 2010 at 23:55

2

Solved

From Java, I'm extracting an executable into a location specified using File.createTempFile(). When I try to run my executable, my program hangs when it tries to read the first line of output. I h...
Pitre asked 25/3, 2010 at 18:54

5

Solved

I have part of a build process that creates a hideously long paths in Windows. It's not my fault. It's several directories deep, and none of the directory names are abnormally long; they're just lo...
Rockribbed asked 12/11, 2009 at 12:21

1

Solved

In R on Windows, tempdir() returns a path that contains short names for non 8dot3 directory names. How do I expand those to long names? An answer that uses pure R code is favorable, but one tha...
Bus asked 14/9, 2009 at 23:15
1

© 2022 - 2024 — McMap. All rights reserved.