Top "Working-directory" questions

How to set the current working directory?

How to set the current working directory in Python?

python working-directory
How do I get the directory that a program is running from?

Is there a platform-agnostic and filesystem-agnostic method to obtain the full path of the directory from where a program is …

c++ c working-directory
Get current batchfile directory

Firstly, I saw this topic but I couldn't understand that. Question : There is a batch file in D:\path\to\…

windows batch-file working-directory
How to get current working directory in Java?

Let's say I have my main class in C:\Users\Justian\Documents\. How can I get my program to show …

java path working-directory
How to get current relative directory of your Makefile?

I have a several Makefiles in app specific directories like this: /project1/apps/app_typeA/Makefile /project1/apps/app_typeB/…

makefile gnu-make working-directory
How to get the current directory in a C program?

I'm making a C program where I need to get the directory that the program is started from. This program …

c unix working-directory
How to get the current working directory using python 3?

When I run the following script in IDLE import os print(os.getcwd()) I get output as D:\testtool but …

python python-3.x working-directory file-location
how to get the current working directory's absolute path from irb

I'm running Ruby on Windows though I don't know if that should make a difference. All I want to do …

ruby irb working-directory
Changing the current working directory in Java?

How can I change the current working directory from within a Java program? Everything I've been able to find about …

java working-directory
python: Change the scripts working directory to the script's own directory

I run a python shell from crontab every minute: * * * * * /home/udi/foo/bar.py /home/udi/foo has some necessary …

python working-directory