Questions tagged as 'path'

2
answers

php require / require_once pointing to another directory without ... (...)

Dropped a system made in 2007 for maintenance and I'm having some difficulties to make it run in my development environment (XAMPP on Windows). It is working (partially) in the production environment (CentOS), I made a copy of the fonts exact...
asked by 20.03.2017 / 13:30
2
answers

Use a TextField to describe a path to save the files

Good morning, I'm trying to create a system that when I type a name in a textfield it would create a folder with this name and add the file inside the folder. The part of adding the file is correct, I need to know how to create it. I'm ver...
asked by 20.07.2016 / 19:13
2
answers

Script does not show the entire path

Code: for i in 'find $1 -name $4 -type f' ; do path='readlink -f $4' words='cat "$i" | wc -w' echo "$path: $words palavras" done Prints: /home/miglui/Desktop/SO/teste.txt: 14 palavras /home/miglui/Desktop/SO/teste.txt: 48 pala...
asked by 14.10.2014 / 20:54
0
answers

Problem with paths in JAVA

I'm on a project and I encounter the following problem. A part of the code has the following: Path caminho2 = Paths.get("C:\Users\Evandro\Documents\Java\Player beta 0.9\src\Capas\Gifs".replace("\", "/")); List<Path> listaCap...
asked by 01.11.2018 / 02:20
0
answers

Dijkstr finds no other way

I'm implementing the dijkstra algorithm to find the smallest path on a network. Starting from a source node s, I need to calculate the smallest path to reach all the other nodes that exist on the network. But the algorithm is not working properl...
asked by 01.11.2018 / 01:39
0
answers

Session with absolute path

The script below only works if I do not put the absolute path, only the relative path. Can you make it work with absolute path? Absolute: xmlhttp.open("GET", "http://servidor.com.br/codec/azul/getcarteira_virutal.php?"+id , true); Rela...
asked by 13.06.2018 / 21:02
0
answers

Correct path to get into a folder outside the www server using php and linux

I have a program in php on a linux server and wanted to know how it is possible for my file to access an element that is outside the www folder. for example, I have the www folder and a folder for my project where my main index.php page is ho...
asked by 02.08.2017 / 21:04
0
answers

Error in Hadoop when searching for Java class

I'm having trouble configuring the Hadoop environment. I'm doing a zero installation on a CentOS 6.7 machine. When attempting to execute any hadoop command, such as: hdfs namenode -format hadoop claspath hadoop version I get the error me...
asked by 07.10.2016 / 20:48
1
answer

Find path of a file only given the name [closed]

I'm trying to find the path of a file just by knowing its name. I've tried it in many ways including pwd but it does not do me any good. Is there any way to do this? (I have a guarantee that this is the only file with this name, so ther...
asked by 20.05.2016 / 00:03
2
answers

C # - I / O on the network [closed]

I have a program that does I / O of files (create, edit, save), but I need to put it to do this I / O with files that are in the company network, both reading and writing. My question is: Does my program need file read and write permission, or...
asked by 02.05.2016 / 21:13