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

default download location is SysWow64 folder #4438

Closed
roryok opened this issue Dec 11, 2014 · 4 comments
Closed

default download location is SysWow64 folder #4438

roryok opened this issue Dec 11, 2014 · 4 comments

Comments

@roryok
Copy link

@roryok roryok commented Dec 11, 2014

I installed youtube-dl via chocolatey this morning and downloaded a youtube video with the following command

youtube-dl "[url]" -f mp4

Download worked and completed, but when I went to find the video I couldn't find it anywhere. It wasn't in the desktop, downloads, documents, video folder, music folder, on the c root, or in the user root.

After a full c: drive search I found it in SysWOW64. This is definitely not a good place for files to download to. I realise there's probably some way to specify a download location, but it should default to somewhere else if I don't provide one

@phihag
Copy link
Contributor

@phihag phihag commented Dec 11, 2014

The default download location is the current directory! It depends on how you did launch your shell, but by default it should be your home directory (C:\Users\roryok).

I am not sure whether chocolatey changes anything about that. I'll test with it.

You can use the -o option to make the download go to another directory or filename.

@roryok
Copy link
Author

@roryok roryok commented Dec 11, 2014

It must be the result of installing with chocolatey then, I used the same cmd prompt I had installed through. I definitely wasn't in SysWOW64 though

@phihag
Copy link
Contributor

@phihag phihag commented Dec 11, 2014

I just tried to install youtube-dl with chocolateley. Everything works, and it does not look like they change the cwd in any way. Can you elaborate how you did start your shell? I rebooted Windows, pressed [Win]+R, entered cmd, and pressed Enter.

@roryok
Copy link
Author

@roryok roryok commented Dec 11, 2014

Win+R, typed cmd and pressed enter. Then I installed youtube-dl via
chocolatey, then ran the command to download a video. It ended up in
SysWOW64

Rebooting would fix that and I guess restarting the cmd would too.

After closing and reopening cmd it works as expected

On Thu, Dec 11, 2014 at 1:16 PM, Philipp Hagemeister <
notifications@github.com> wrote:

I just tried to install youtube-dl with chocolateley. Everything works,
and it does not look like they change the cwd in any way. Can you elaborate
how you did start your shell? I rebooted Windows, pressed [Win]+R,
entered cmd, and pressed Enter.


Reply to this email directly or view it on GitHub
#4438 (comment).

Best Regards,
Rory

@phihag phihag closed this Dec 12, 2014
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
2 participants
You can’t perform that action at this time.