path-separator Questions
4
MS Office VBA has a property called Application.PathSeparator.
I'm supportive of interoperability, but Office runs only on Windows & MacOS, and both platforms use the same \ path separator.
W...
Platelet asked 25/4, 2018 at 2:38
4
Solved
require_once dirname(__FILE__).DIRECTORY_SEPARATOR . './../../../wp-config.php';
require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'inc/options.php';
The above code is from a plugin from the Word...
Sever asked 12/11, 2014 at 7:19
4
Solved
I am developing a Scala application on Windows, and I need to insert a path to a file into an HTML template. I use Java's io and nio to work with files and paths.
/* The paths actually come from t...
Costa asked 15/7, 2012 at 17:45
2
Solved
I am trying to identify all files with certain names in a folder. I am using standard code to do that looking like this:
for paths, subdirs, files in os.walk(start_dir, topdown=True):
for file in...
Tricycle asked 26/11, 2018 at 12:37
11
Solved
I run R on Windows, and have a csv file on the Desktop. I load it as follows,
x<-read.csv("C:\Users\surfcat\Desktop\2006_dissimilarity.csv",header=TRUE)
but the R gives the following error me...
Whipstock asked 8/12, 2011 at 2:30
2
Solved
ZIP entries store the full path name of the entry because (I'm sure of the next part) the ZIP archive is not organized as directories. The metadata contains the info about how files are supposed to...
Flora asked 12/12, 2012 at 18:12
7
Solved
I was wondering about the difference between \ and / in file paths. I have noticed that sometimes a path contains /and sometimes it is with \.
It would be great if anyone can explain when to use \...
Breathtaking asked 18/7, 2016 at 4:22
4
Solved
Could you please tell me how to get the file separator of current operating system, for example \ in Windows and / in Unix, in Fortran at run-time.
Alidia asked 24/12, 2011 at 13:35
3
In the File class there are two strings, separator and pathSeparator.
What's the difference? When should I use one over the other?
Germanize asked 12/5, 2011 at 0:8
1
Solved
File has the static Strings separator and pathSeparator. The separator is a "default name-separator character" and the pathSeparator is a "path-separator character".
What is the difference? ...
Eaddy asked 2/1, 2015 at 17:57
3
Just when I'd thought I'd seen it all with Windows path issues, I've now encountered a case that only fails when '/' (forward-slash) is used as the path separator is used:
C:\temp\tcbugs>mkdir ...
Drawing asked 9/5, 2012 at 20:34
3
Solved
I need a similar to .NET method for safely combining path parts without worrying for platform specifics of the path separator.
Is there such class and method in QT4?
Something like:
QPath::Combi...
Aboutship asked 22/8, 2010 at 12:48
3
Solved
tl;dr: How do I ask Windows what the current directory separator character on the system is?
Different versions of Windows seem to behave differently (e.g. \ and / both work on the English version...
Gudgeon asked 6/9, 2011 at 3:22
1
Solved
Just out of curiosity - is there another way to obtain the platform's path separator char than os.path.normcase('/') in Python 2.4?
I was expecting something like a os.path.separator constant...
Cavernous asked 10/9, 2009 at 11:30
1
© 2022 - 2024 — McMap. All rights reserved.