CopyMMSFiles icon indicating copy to clipboard operation
CopyMMSFiles copied to clipboard

Write to Subfolder of Current Folder Instead of Hardcoded Path

Open franklesniak opened this issue 7 years ago • 1 comments

IMO, it would be better to write the script output to a subfolder off the script's current path. For example: .\MMS

Getting the current folder can be a little tricky depending on how the script is being run.

franklesniak avatar Aug 01 '19 13:08 franklesniak

Personally would be hesitant to change the default paths since they've been in use for a bit of time. However, could possibly entertain an additional switch such as -DownloadToScriptDirectory that would override $DownloadLocation to the script directory?

Would it be best to download directly into the same folder, or a child folder as you proposed? If child folder, I suspect we might have to add another parameter?

@AndrewJNet - thoughts?

theznerd avatar May 13 '25 03:05 theznerd