yea
Lorand's advice is very good. But I am not sure if you know this one ;o).
Take it as BONUS (I have been learning all my life, but I still "stupid" ;-)
Here are some usefull system relative paths when redirecting to file.
%ROOT% - system root eg. C:\Windows\
%SystemDrive% - for ex. C:\
%AllUsersProfile% - C:\Documents and Settings\All Users
%UserProfile% - C:\Documents and Settings\[CURRENT_USER]\
and much more....
This one is useful when you want redirect output to fine in MyDocs or Destop
Like this for ex.:
ipconfig -all > "%UserProfile%\Desktop\data.txt"
or
ipconfig -all > "%UserProfile%\MyDocuments\data.txt"
I am not sure, but there is direct relative path to "My Documents" too(AFAIK).