The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: nathanpc on October 07, 2009, 11:08:35 PM

Title: Specify a Directory In URLDownloadToFile
Post by: nathanpc on October 07, 2009, 11:08:35 PM
Hello,
I want to know how i can specify a directory to download the file, because it only download to the current directory, but i want to speccify one, like "D:\Tests".
PS: D: is my Assembly dedicated drive and tests you know.

Best Regards,
Nathan Paulino Campos
Title: Re: Specify a Directory In URLDownloadToFile
Post by: jj2007 on October 07, 2009, 11:15:02 PM
MSDN: (http://msdn.microsoft.com/en-us/library/ms775123%28VS.85%29.aspx)
szFileName
    A pointer to a string value containing the name or full path of the file to create for the download. If szFileName includes a path, the target directory must already exist.
Title: Re: Specify a Directory In URLDownloadToFile
Post by: nathanpc on October 07, 2009, 11:19:18 PM
Thanks very much jj2007! :U