Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read config file from current directory for portable Windows installation #5254

Open
dandv opened this issue Mar 21, 2015 · 4 comments
Open

Read config file from current directory for portable Windows installation #5254

dandv opened this issue Mar 21, 2015 · 4 comments
Labels

Comments

@dandv
Copy link

@dandv dandv commented Mar 21, 2015

On Windows, the config file is currently read from locations outside where youtube-dl.exe resides.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 21, 2015

I think that's normal, why do you need it? You can install youtube-dl.exe everywhere in you %PATH%, I wouldn't expect to load config files from it.

I wouldn't be against adding an option for loading a config file from the current directory (as an option).

@dandv
Copy link
Author

@dandv dandv commented Mar 22, 2015

A lot of Windows tools read the configuration file from the directory they reside in, and that's a very useful feature, for the same reason portableapps.com exists: to be able to plug in a USB drive with your collection of utilities, and have them configured and ready to go.

@jaimeMF jaimeMF added the request label Mar 22, 2015
@clampak
Copy link

@clampak clampak commented Mar 23, 2015

A useful extension of this might be to load the config file from a specified directory, rather than just the current directory. So perhaps something like --config-file-dir=/path/to/config.

@idtareq
Copy link

@idtareq idtareq commented Jun 18, 2016

You can use a symbolic link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.