Open Terminal and type "defaults write com.apple.screencapture location" followed by the file path.