Ask the Expert

Can I redirect a file to an alternate folder based on its file extension?

Is it possible to redirect files of a certain type (such as all *.wav files) to a specific location? I am working with an application that saves an avi and wav file to a folder I specify. Both files go to that folder. Can I redirect one file to an alternate folder based on its file extension?

    Requires Free Membership to View

The standard Windows "Save" mechanism that is used by most standard applications will typically allow you to set ONE default save location, and to change that location on-the-fly. The desired behavior you are describing can be accomplished through some sort of Windows Scripting mechanism, either a login script or a stand-alone VB/WSH/command-line script.

This was first published in July 2002

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: