Parallels - File path not recognised on command prompt - parallels

I recently installed parallels desktop on my Mac and am trying to cd some code files from the downloads folder but I get many errors.
I have tried many paths like:
C:\Users\name>\Mac\Home\Downloads\DNS
C:\Users\name>\Downloads\DNS
Nothing seems to be working I get the following errors:
'\Mac\Home\Downloads\DNS' is not recognized as an internal or external command,operable program or batch file.
The system cannot find the path specified.
Can someone help me?

Related

Error while installing Elasticsearch 5.6.4 as a Windows service

This is ridiculous:
I downloaded the ElasticSearch 5.6.4 zip file from the official website, unzipped it into a folder and then run the command
./elasticsearch-service.bat
in both PowerShell and standard Windows console
The output is an error message:
Syntax Error
I haven't change anything, just downloaded and run it out of the box. Adding the install and servicename parameters doesn't change anything
I've just encountered with the similar issue. Although the error message is different. It is something like
'x64).exe' is not recognized as an internal or external command
Try to run .bat without ./ prefix.

MATLAB how to set the path before running an executable

When the executable runs I'm trying to make it access another folder saved on my flash drive. I have tried adding addpath() before the script but that doesn't work. I am trying to make the executable search for the mcr folder I have installed on my flash drive before running the main project. So far it keeps crashing trying to search for the runtime folder.
Error
Could not find version 9.0.1 of MATLAB Runtime.
Attempting to load mclmcrrt9_0_1.dll.
Please install the correct version of the MATLAB Runtime. Contact your vendor if you do not have an installer for the MATLAB Runtime.
I understand that when you install the MATLAB Runtime it installs in the C Drive. But I installed it on my flash drive. So that when I used different PC's I didn't have to install the runtime every time. But every time I use a different PC that error always shows. So I'm trying to set the PATH in my executable so that it will always know to find the Runtime folder on my flash drive.
You have to set the path before you launch the (matlab created) exe - you cant set it from within Matlab. You can do this by creating a script, e.g. on windows create run.bat (drive and path to your exe assumed)
path = E:\MCR\v90\runtime\win64
yourMatlab.exe

Javac on different path (linux system)

I was only curious as to why my system is acting like this. So I have a CentOS system (centos 6.7-x86_64) with java and javac installed. Now, I'm trying to push this command through the terminal:
find /root/nlp/wasp/wasp-2.0alpha -name '*.java' | xargs javac -O
But it's giving me an error saying:
error: error reading /root/nlp/stanford/openIE/../models.jar
Now, my problem is that in my command, I've directed the system to find all java files under the /root/nlp/wasp.. directory, not anywhere near close to the /root/nlp/stanford directory.
Interesting enough, when I just run the command before the pipe, I get the correct results (i.e. - files in the path is specified).
find /root/nlp/wasp/wasp-2.0alpha -name '*.java'
So my questions are, why on earth is the system looking at: 1.) a .jar file when I asked for .java files and 2.) a file in the wrong directory specified?
I ended up just removing that .jar file in the other directory and everything seems to be OK. But for the life of me, I am curious!

Netgen with EIDORS

i want to run netgen in a command line in EIDORS Matlab but every time i come across this problem that matlab ask me for the path of the netgen. i receive this message every time.
'ng' is not recognized as an internal or external command,
operable program or batch file.
Netgen call failed. Is netgen installed and on the search path?
If you are running under windows, I can attempt to create
a batch file to access netgen.
Please enter the directory in which to find netgen.
If you don't have a copy, download it fromhttp://www.hpfem.jku.at/netgen/
Note that you MUST use names without spaces. Thus
instead of C:/Program Files/ write C:/Progra~1/
netgen_path?
yet i define new system variable in windows advanced system configuration and over there i gave the path of the tcl library but it didn't work.
May any body help me ?
Install netgen first. Go here to download:
http://sourceforge.net/projects/netgen-mesher/
Go "Files" entry to download more variant version of netgen. Take note that EIDORS 3.6 is only compatible up to the latest version of netgen-5.0.
I am using Windows 7, 64-bit Operating System. Installation of netgen with x64 and Win32 are worked fine for me. But because as you said, EIDORS requires netgen path to be no space, so when installation, I choose a path other than default "Program Files" (or similar), which has no space.
When EIDORS asks for the netgen path, give the path name until "\bin". These procedures are worked in my computer.
You can place the netgen.exe path " ...\bin " within the matlab toolbox:
How to Set Path in Matlab
thereby not needing to paste the path into EIDORS each time you run it in MATLAB.
Also downloading EIDORS 3.8 with Netgen 5.3 as a zip file avoids having to install netgen separately.

unable to run php cli from the command line when xampp portable is installed in another drive

I have installed a xampp portable package on my drive D, added the php folder path inside it on the system environment so I would be able to run php basically anywhere from the command line. but when i try to check if its working by executing the "php -v" command, it runs but i get this following error/warning messages.
"Warning: PHP Startup: Unable to load dynamic library 'xampp-portable\php\ext[:any].dll - The specified module could not be found."
*the [:any] there just means some dll filename.
and i get a lot of that warnings with just varying dll filenames,
anyway, here's the catch. when i do change my current path in the command line to somewhere in drive D, and then run the same command "php -v" it runs smoothly.
so what configuration should i do to fix this problem?
by the way, i do the same with mysql, putting its bin directory path on the system enviroment, run it in both inside drive C and drive D. and it runs smoothly. so i guess this problem is only on php.
I've posted the same question in xampp forums and this is the answer that was given to me. I'll be quoting the answer as it was and give credit to the one who answere it.
XAMPP is very proud that it don't have to set any environment
variables or registry values.
What you want to do is not possible with XAMPP portable without
mapping to a specific Drive letter. All configurations in xampp
portable have relative paths, so if you want to use cli from a
different drive letter, php can be executed, but all extensions of
them throw errors.
I would install the full version of XAMPP, map it to the current drive
letter with help of the setup_xampp.bat file and use the XAMPP control
panel Shell instead of default command line (advantage: The XAMPP
control panel shell sets local include paths to the needed XAMPP
folders).
Works for me (i can even use pear, git, composer, and other cli
scripts with the Xampp Shell if correct integrated).
best wishes, Altrea
credits to Altrea
Open your php.ini file, replace all relative paths to absolute paths. Eg: \xampp\ to C:\xampp\